mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-03-04 04:30:18 +00:00
logo_demo: hack to get it to autoboot at start
and still try to look good and printf in Makefile, urgh
This commit is contained in:
parent
fed9d7f77d
commit
453084b274
@ -11,7 +11,7 @@ LZSA = ~/research/lzsa/lzsa/lzsa
|
||||
|
||||
all: logo_demo.dsk
|
||||
|
||||
logo_demo.dsk: LOGO3 MUSIC DEMO MAP MA2E.PT3
|
||||
logo_demo.dsk: LOGO3 MUSIC DEMO MAP MA2E.PT3 STARTUP
|
||||
cp ../../logo/dsks/apple_logo_ii.dsk ./logo_demo.dsk
|
||||
$(PRODOS) -y logo_demo.dsk -t BIN -a 0x2000 SAVE LOGO3
|
||||
$(PRODOS) -y logo_demo.dsk DELETE FORMAT
|
||||
@ -31,9 +31,10 @@ logo_demo.dsk: LOGO3 MUSIC DEMO MAP MA2E.PT3
|
||||
$(PRODOS) -y logo_demo.dsk -t BIN -a 0xE000 SAVE MAP
|
||||
$(PRODOS) -y logo_demo.dsk -t BIN -a 0x1000 SAVE MA2E.PT3
|
||||
$(PRODOS) -y logo_demo.dsk SAVE -t TXT DEMO
|
||||
# printf '\xa9\x0d' | dd of=logo_demo.dsk bs=1 seek=9873 count=2 conv=notrunc
|
||||
# printf '\xea\xea\xea' | dd of=logo_demo.dsk bs=1 seek=9905 count=3 conv=notrunc
|
||||
|
||||
$(PRODOS) -y logo_demo.dsk SAVE -t TXT STARTUP
|
||||
# echo $(printf \'\xa9\x0d\' | dd of=logo_demo.dsk bs=1 seek=9873 count=2 conv=notrunc)
|
||||
# echo $(printf \'\xea\xea\xea\' | dd of=logo_demo.dsk bs=1 seek=9905 count=3 conv=notrunc)
|
||||
./autoboot.sh
|
||||
|
||||
|
||||
####
|
||||
@ -73,6 +74,12 @@ DEMO: demo.logo
|
||||
|
||||
####
|
||||
|
||||
STARTUP: startup.logo
|
||||
$(TEXT_TO_PRODOS) < startup.logo > STARTUP
|
||||
|
||||
|
||||
####
|
||||
|
||||
MAP: map.lzsa
|
||||
cp map.lzsa MAP
|
||||
|
||||
|
9
demos/logo_demo/autoboot.sh
Executable file
9
demos/logo_demo/autoboot.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
#/usr/bin/printf '\x41'
|
||||
|
||||
# patch out the wait for keypress
|
||||
/usr/bin/printf '\xa9\x0d' | dd of=logo_demo.dsk bs=1 seek=9873 count=2 conv=notrunc
|
||||
# patch out the ??
|
||||
#/usr/bin/printf '\xea\xea\xea' | dd of=logo_demo.dsk bs=1 seek=9905 count=3 conv=notrunc
|
||||
|
@ -152,7 +152,7 @@ SETCURSOR [12 23] PRINT [APPLE II FOREVER]
|
||||
END
|
||||
|
||||
TO DEMO
|
||||
CS FS
|
||||
CS FS ST
|
||||
.BLOAD "MA2E.PT3 4096
|
||||
.BLOAD "MUSIC 19456
|
||||
.BLOAD "MAP 2048
|
||||
|
11
demos/logo_demo/startup.logo
Normal file
11
demos/logo_demo/startup.logo
Normal file
@ -0,0 +1,11 @@
|
||||
TO BOB
|
||||
LOADPIC "LOGO3
|
||||
PR [LOADING DEMO...]
|
||||
HT FS
|
||||
LOAD "DEMO
|
||||
END
|
||||
|
||||
MAKE "STARTUP [BOB]
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user