Skip to content

Instantly share code, notes, and snippets.

@cocoabox
Last active May 27, 2024 16:34
Show Gist options
  • Save cocoabox/375710a244881152de75102315c4fd2c to your computer and use it in GitHub Desktop.
Save cocoabox/375710a244881152de75102315c4fd2c to your computer and use it in GitHub Desktop.
build uidemo.bas from BASIC 7.1
REM The following commands are for DOSBox use
REM
REM UI-Demo requires that you compile UIASM.ASM to UIASM.OBJ
REM if you don't have MASM
REM 1. decode the attached UIASM.OBJ.base64 : base64 --decode UIASM.OBJ.base64 > UIASM.OBJ
REM 2. copy UIASM.OBJ to the SRC/ directory
REM 3. comment out line #16 (\masm\bin\ml...)
REM
REM the following commands builds UIDEMO.EXE
REM 1. cd to the SRC/ directory of your BC71 installation
REM 2. run the following commands
REM
REM to open UIDEMO.BAS in QBX and be able to compile it, first run the following commands, then
REM QBX /L lib\general.qlb src\uidemo.bas
\masm\bin\ml /c /Fo uiasm.obj uiasm.asm
..\binb\BC /X /FS general.bas;
..\binb\BC /X /FS window.bas;
..\binb\BC /X /FS mouse.bas;
..\binb\BC /X /FS menu.bas;
..\binb\LIB general.lib + general + uiasm + mouse + window + menu + ..\lib\qbx.lib;
copy /y *.qlb ..\lib
copy /y *.lib ..\lib
..\binb\bc /X /FS uidemo.bas;
copy /y ..\lib\brt71efr.lib .\
..\binb\link.exe uidemo.obj + general.lib, uidemo.exe;
gAsACXVpYXNtLmFzbd6WKgAAClVJQVNNX1RFWFQFX0RBVEEGREdST1VQBV9URVhUBERBVEEEQ09ERdiYBwBIAAAFBwEMmAcASA8AAwYBAJgHAEj/AQIHAQ+aBAAE/wJdjBAADVNUUklOR0FERFJFU1MAepBFAAADCmdldGNvcHlib3goAAAJZ2V0X21lbXh5FwAACmdldF9zY3JzZWcAAAAKcHV0Y29weWJveNgAAAdhdHRyYm94ZwEA4YgEAACiAdGgAwIDAABQtA/NEMcGAAAAuDwHdQbHBgAAALBYy1JQsqD24lqK1rYAAtIDwlrLVYvsHgZWV4teDosHogAAi14MiweiAACLXgqLB6IAAIteCIsHogAAi14GU5oAAAAAowAAiRYAAP4OAAD+DgAA/g4AAP4OAAAO6I3/oAAAKgYAAKIAAAQBtACjAACgAAAqBgAAogAAjgYAAIs+AAC+AACkvgAApKAAAIomAAAO6G7/i/CLDgAAHo4eAADzpR+BxqAAKzYAACs2AACAPgAAAHQG/g4AAOvbX14HH13KCgBVi+weBlZXi14KiweiAACLXgiLB6IAAIteBlOaAAAAAKMAAIkWAAD+DgAA/g4AAA7o9f4eB4s2AAAejh4AAL8AAKS/AACkH6AAAAQBtACjAACKJgAAoAAADujj/ov4jgYAAIsOAAAejh4AAPOlH4HHoAArPgAAKz4AAIA+AAAAdAb+DgAA69tfXgcfXcoGAFWL7B4GVleLXg6LB6IAAIteDIsHogAAi14KiweiAACLXgiLB6IAAIteBosHogAA/g4AAP4OAAD+DgAA/g4AAA7oVv6gAAAqBgAA/sAy5KMAAKAAACoGAACiAACgAACKJgAADuhK/ov4jgYAAKAAAIsOAABHquL8gcegACs+AAArPgAAgD4AAAB0Bv4OAADr319eBx9dygoALZwZAsQHEAECCwDEERABAgsAxDUQAQICAMQ9EAECAQDERRABAgQAxE0QAQIDAMxUVgHEWRABAgcAxF0QAQIJAMRhEAECAQDEZRABAgIAxGkQAQIDAMRtEAECBADEdBABAgMAxHgQAQIBAMR7EAECBQDEghABAg0AxIUQAQIEAMSJEAECAgDEjBABAgYAxJAQAQIJAMSUEAECBwDElxABAgUAxJsQAQIGAMSfEAECAgDEoxABAgEAxK0QAQINAMSyEAECCwDEvRABAg0AxMEQAQINAMTFEAECBgDEzBABAgYAxOUQAQICAMTtEAECAQDM9FYBxPkQAQIHAMT9EAECCQDFARABAgEAxQUQAQICAMUPEAECBwDFFBABAgkAxRcQAQIFAMUbEAECBgDFIBABAgUAxScQAQINAMUrEAECAQDFLhABAgIAxTgQAQILAMU8EAECDQDFQRABAgkAxUwQAQINAMVQEAECDQDFVBABAgYAxVsQAQIGAMV0EAECAgDFfBABAgEAxYQQAQIEAMWMEAECAwDFlBQBAsWYEAECAgDFnBABAgEAxaAQAQIEAMWkEAECAwDFqxABAgMAxa8QAQIBAMW2EAECDQDFuRABAgQAxb0QAQICAMXAEAECBgDFwxABAgIAxccQAQIBAMXREAECCwDF1BQBAsXYEAECDQDF5BABAg0AxegQAQINAMXsEAECBgDF8xABAgYAQYoCAAB0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment