From 8ca7b3f3fd34ef8fa758bbf660dee1295887d7fa Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Mon, 9 Nov 2020 00:03:24 -0500 Subject: [PATCH] botdemo: minor change --- bot_demo/Makefile | 24 ++++++++++++++--- bot_demo/apple2_custom.inc | 12 --------- bot_demo/bg.png | Bin 0 -> 16537 bytes bot_demo/load.s | 53 +++++++++++++++++++++++++++++-------- 4 files changed, 63 insertions(+), 26 deletions(-) delete mode 100644 bot_demo/apple2_custom.inc create mode 100644 bot_demo/bg.png diff --git a/bot_demo/Makefile b/bot_demo/Makefile index 3d6c38de..3bf7d317 100644 --- a/bot_demo/Makefile +++ b/bot_demo/Makefile @@ -5,13 +5,31 @@ TOKENIZE = ../asoft_basic-utils/tokenize_asoft all: bot_demo.dsk -bot_demo.dsk: RLE +bot_demo.dsk: HELLO BOTDEMO cp empty.dsk bot_demo.dsk - $(DOS33) -y bot_demo.dsk BSAVE -a 0x036c RLE + $(DOS33) -y bot_demo.dsk BSAVE -a 0x6000 BOTDEMO + $(DOS33) -y bot_demo.dsk SAVE A HELLO ### +BOTDEMO: botdemo.o + ld65 -o BOTDEMO botdemo.o -C ../linker_scripts/apple2_6000.inc + +botdemo.o: botdemo.s \ + zp.inc hardware.inc nozp.inc \ + load.s \ + interrupt_handler.s + ca65 -o botdemo.o botdemo.s -l botdemo.lst + + +### + +HELLO: hello.bas + ../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO + +### + RLE: rle.o ld65 -o RLE rle.o -C ./apple2_custom.inc @@ -21,4 +39,4 @@ rle.o: rle.s #### clean: - rm -f *~ *.o *.lst RLE + rm -f *~ *.o *.lst RLE BOTDEMO diff --git a/bot_demo/apple2_custom.inc b/bot_demo/apple2_custom.inc deleted file mode 100644 index dddae43f..00000000 --- a/bot_demo/apple2_custom.inc +++ /dev/null @@ -1,12 +0,0 @@ -MEMORY { - ZP: start = $00, size = $1A, type = rw; - RAM: start = $36c, size = $8E00, file = %O; -} - -SEGMENTS { -CODE: load = RAM, type = ro, align = $1; -RODATA: load = RAM, type = ro; -DATA: load = RAM, type = rw; -BSS: load = RAM, type = bss, define = yes; -ZEROPAGE: load = ZP, type = zp; -} diff --git a/bot_demo/bg.png b/bot_demo/bg.png new file mode 100644 index 0000000000000000000000000000000000000000..9fa6e7db41089d49f63a7734aa4f85a3c3d5b74e GIT binary patch literal 16537 zcmeHuWmFv7wr=C@?h-7xySux)bmQ*s?oQAUB)DrJ5L|=1I|K;9E!ZR3`<%1SyZ7Du z&KvLkJB-m()mq>D=3GZ)2DrK~801dk670059=q{UTVkIJtfW>|>V|8;yw{Qv;{ zu(!IltE!0ysiU)lxs@%5)YZ!oL<;h>G6w)Wm#cED+zEN6ZC}i=Izqb;>0x$wHjvjZ zHaJLSC^^!~=ZeuKsMy{BBHBM?_M(|TeR)~g7kar*aNF{dkNi}WHQgKVA^Zq`BlX~U zVM6O6^z!-<$LP!U0aFdZ%Q?cJ+|R9RQMZ}}oSMrHzbAbot~!#_m)6NauI6)t$D5dW z!go8I!gRdM+vetP3e+ya9U$$KP+ z&qAS>96wzVUushkgOcVK;+8M1zIv?qHcT-+KcrZ7tnRjUAC&tUKJdMiULX8OS~(_q z?tDHGJ-pmt8vS|R7PryyL&)K@Gq%+CbN`x=@8`~PJ)`}{=5n8j`deNH&JSUIIWsn@ zBx?K{=L3v3xe1idz-P(Mi36oQC9h>R$6TvC5pg&F()qf96=*)YhL!5e)7lU+=obBb zql56vgQgx`b*|6z{NEDlRzOBiS5OnUchLu+TOMqmA9@of;S6_Ajh|<97|r*zNCLh- zpafhVL?E10y{pq403Mzg7*i*hpt^!{x1TeDXuV_;OP2aq{bxmKxOa2fdiyM8k^ANG6+i}OLq@jRl9 znQMwl+oqqXQzZD0F^hVEQ@5$L3=t*lV9Tq_;Il=b57>T)ECZM>^mPO2 zzN(?csVT;-p!Z_&JbO8E)t|78M58Fv^kvJ6HMBawKAKSy+mtmm4=505+55Jg$IrJN zcSaEV9DT|#^dV@SfPE9senC?h&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!oLT;9sw&GR1}>Q;6jHCK~gPGjL@X6NGMVq@XtWM|=F zXZZ(66Xfjjn&iJYS(q7FS%3Ec&3GkW8BJc3&C1Ti0>tEKZ}Ge1S6Fyo2lMJ!lV7#* z%KW?ibu7GM&L9(42WNE$2U`L1U$&C|qWoP_r2Kyt3$MI`*>Az$U=Z+Ez5Q8nq9zth zzc2Zj{wwf*U{bSm@UZ{C{^vmdE%E;kxWCB%S!Dm6_+MdvNQ*f* zdc96Umaa-3_Wz~&{{;94gS?d)$lk@_zcT%=kU!k=mv!{j=0DnA*XP&ep6T!F{hw+6 zYbN*~{QI+f{s%R@QvX}YzvSP4yX)WX`jXB$>$rAGcb_@I29Af`%4SW{Kbr`Q|8t$kcEK9#N-93Uk-Lc#l&mvgZ)>byJE#x zF;Q_wh%U_Le~9&xK`ByGGV_QtK`K$4{WMjnoT*b_I+gD=VWM=0nJsEWSVtQ2QSMyd z!-3qGn-N~g9ZhBeYa(`awk)|OKNB9A(an2%GMGF6NM~61!<+Z`^bCiv6YORqX@{GO Sw&2xq02v8I@oG`y;Qs~6AXNAO literal 0 HcmV?d00001 diff --git a/bot_demo/load.s b/bot_demo/load.s index 97d3a19c..ce392525 100644 --- a/bot_demo/load.s +++ b/bot_demo/load.s @@ -11,20 +11,51 @@ TRACE_ = $D805 load_file: - + ;================= + ; run list command do_list: - lda #'L' - sta $200 - lda #'I' - sta $201 - lda #'S' - sta $202 - lda #'T' - sta $203 - lda #0 - sta $204 + lda #list_string + sta cti_smc+2 + jsr copy_to_input + jmp run_command + ;================= + ; run run command + ; a do-run-run, a do-run-run +do_run: + lda #run_string + sta cti_smc+1 + jsr copy_to_input + + jmp run_command + + + ;===================== + ; copy_to_input + ; copies NUL terminator too + +copy_to_input: + ldx #0 +cti_loop: +cti_smc: + lda $1234,X + sta $200,X + beq done_copy + inx + bne cti_loop +done_copy: + rts + + +list_string: + .byte "LIST",0 +run_string: + .byte "RUN",0 run_command: ; calls MON_GETLN