demos: outline: more or less final submissions

This commit is contained in:
Vince Weaver 2021-05-16 23:24:49 -04:00
parent cf975b6d67
commit a5a88d24b4
8 changed files with 35 additions and 13 deletions

View File

@ -15,7 +15,7 @@ appleiibot.dsk: E2.BAS FLAME.BAS FLAME2.BAS HELLO \
FASTAR2.BAS BIN.BAS FALLING.BAS SNOW.BAS XMAS.BAS AN3.BAS PLASMA.BAS \
C64.BAS SIERPINSKI.BAS FAKES.BAS SIER.BAS DROPS.BAS RR.BAS RR_HGR.BAS \
COMBO.BAS WIRES.BAS PATTERN.BAS BALL.BAS LINES.BAS MOD9.BAS \
XOR_ZOOM.BAS MOD9_HGR.BAS SIER_HGR.BAS MOVE.BAS SINE.BAS
XOR_ZOOM.BAS MOD9_HGR.BAS SIER_HGR.BAS MOVE.BAS SINE.BAS XDRAW128.BAS
# cp $(EMPTY_DISK)/empty.dsk appleiibot.dsk
cp empty.dsk appleiibot.dsk
$(DOS33) -y appleiibot.dsk BSAVE -a 0x0300 LOAD
@ -78,6 +78,7 @@ appleiibot.dsk: E2.BAS FLAME.BAS FLAME2.BAS HELLO \
$(DOS33) -y appleiibot.dsk SAVE A SIER_HGR.BAS
$(DOS33) -y appleiibot.dsk SAVE A MOVE.BAS
$(DOS33) -y appleiibot.dsk SAVE A SINE.BAS
$(DOS33) -y appleiibot.dsk SAVE A XDRAW128.BAS
####
@ -170,6 +171,12 @@ MOD9.BAS: mod9.bas
####
XDRAW128.BAS: xdraw128.bas
$(TOKENIZE) < xdraw128.bas > XDRAW128.BAS
####
MOD9_HGR.BAS: mod9_hgr.bas
$(TOKENIZE) < mod9_hgr.bas > MOD9_HGR.BAS

View File

@ -14,8 +14,8 @@
int main(int argc, char **argv) {
int mode=END_AT_3F5;
// int mode=BEGIN_AT_3F5;
// int mode=END_AT_3F5;
int mode=BEGIN_AT_3F5;
int i = 0;
int e = 0,filesize;
int val,pv,final;

View File

@ -21,7 +21,7 @@ xdraw128_submit.zip: XDRAW128 xdraw128.s file_id.diz xdraw128.dsk
cp xdraw128.zip ./outline2021_xdraw128_submit
zip -r xdraw128_submit.zip outline2021_xdraw128_submit
xdraw.dsk: HELLO TINY_XDRAW TINY_COOL SPIN.BAS XDRAW128
xdraw.dsk: HELLO TINY_XDRAW TINY_COOL SPIN.BAS XDRAW128 XDRAW128_BOT
cp $(EMPTY_DISK) xdraw.dsk
$(DOS33) -y xdraw.dsk SAVE A HELLO
$(DOS33) -y xdraw.dsk SAVE A SPIN.BAS
@ -85,6 +85,11 @@ tiny_cool.o: tiny_cool.s
###
XDRAW128_BOT: xdraw128.o
ld65 -o XDRAW128_BOT xdraw128.o -C $(LINKER_SCRIPTS)/apple2_3f5.inc
###
XDRAW128: xdraw128.o
ld65 -o XDRAW128 xdraw128.o -C $(LINKER_SCRIPTS)/apple2_c00.inc

View File

@ -21,6 +21,7 @@ outline2021.dsk: QBOOT QLOAD OUTLINE
$(DOS33_RAW) outline2021.dsk 1 0 QLOAD 0 14
$(DOS33_RAW) outline2021.dsk 2 0 OUTLINE 0 0
submit: outline2021_island_submit.zip
outline2021_island_submit.zip: OUTLINE file_id.diz outline2021.dsk
mkdir -p outline2021_island
@ -28,7 +29,7 @@ outline2021_island_submit.zip: OUTLINE file_id.diz outline2021.dsk
cp file_id.diz ./outline2021_island
cp outline2021.dsk ./outline2021_island
zip -r outline2021_island.zip outline2021_island
mkdir -p outlin2021_island_submit
mkdir -p outline2021_island_submit
cp outline_island_720p.mp4 ./outline2021_island_submit
cp outline2021_island.zip ./outline2021_island_submit
zip -r outline2021_island_submit.zip outline2021_island_submit

View File

@ -142,4 +142,5 @@ forever:
PT3_LOC = song
.align $100
song:
.incbin "mAZE_-_Apple_snapple_Outline.pt3"
;.incbin "mAZE_-_Apple_snapple_Outline.pt3"
.incbin "quiet.pt3"

View File

@ -228,10 +228,16 @@ done_apple_detect:
; Enable 50Hz clock on 6522
;============================
; 4fe7 / 1e6 = .020s, 50Hz
; 9c40 / 1e6 = .040s, 25Hz
; 411a / 1e6 = .016s, 60Hz
; Note, on Apple II the clock isn't 1MHz but is actually closer to
; roughly 1.023MHz, and every 65th clock is stretched (it's complicated)
; 4fe7 / 1.023e6 = .020s, 50Hz
; 9c40 / 1.023e6 = .040s, 25Hz
; 411a / 1.023e6 = .016s, 60Hz
; French Touch uses
; 4e20 / 1.000e6 = .020s, 50Hz, which assumes 1MHz clock freq
sei ; disable interrupts just in case
@ -248,10 +254,12 @@ setup_irq_smc3:
setup_irq_smc4:
sta MOCK_6522_IER ; IER: 1100, enable timer one interrupt
lda #$E7
; lda #$E7
lda #$20
setup_irq_smc5:
sta MOCK_6522_T1CL ; write into low-order latch
lda #$4f
; lda #$4f
lda #$4E
setup_irq_smc6:
sta MOCK_6522_T1CH ; write into high-order latch,
; load both values into counter

View File

@ -92,7 +92,7 @@ reverse:
do_shimmer:
lda #6
lda #12
sta FRAME

View File

@ -123,7 +123,7 @@ color_notblack:
inc FRAME
lda FRAME
cmp #$48
cmp #$38
bne wires_forever_loop
rts