From ddb39a92fa8a552ecf3f36ea4c033a3e97efa950 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Sat, 21 Jul 2018 02:11:51 -0400 Subject: [PATCH] kfest: modify it to load higher in memory --- kfest2018/Makefile | 7 +++---- kfest2018/README | 39 +++++++++++++++++++++++++++++++++++++++ kfest2018/kfest18.dsk | Bin 143360 -> 143360 bytes 3 files changed, 42 insertions(+), 4 deletions(-) create mode 100644 kfest2018/README diff --git a/kfest2018/Makefile b/kfest2018/Makefile index 5d4ad86e..e63f8a54 100644 --- a/kfest2018/Makefile +++ b/kfest2018/Makefile @@ -5,15 +5,14 @@ TOKENIZE = ../asoft_basic-utils/tokenize_asoft all: kfest18.dsk -kfest18.dsk: RASTER RASTER2 - $(DOS33) -y kfest18.dsk BSAVE -a 0x1000 RASTER - $(DOS33) -y kfest18.dsk BSAVE -a 0x1000 RASTER2 +kfest18.dsk: RASTER + $(DOS33) -y kfest18.dsk BSAVE -a 0x2000 RASTER raster.o: raster.s ca65 -o raster.o raster.s -l raster.lst RASTER: raster.o - ld65 -o RASTER raster.o -C ../linker_scripts/apple2_1000.inc + ld65 -o RASTER raster.o -C ../linker_scripts/apple2_2000.inc raster2.o: raster2.s ca65 -o raster2.o raster2.s -l raster2.lst diff --git a/kfest2018/README b/kfest2018/README new file mode 100644 index 00000000..8529fca0 --- /dev/null +++ b/kfest2018/README @@ -0,0 +1,39 @@ +KFEST18 SUPER RASTEBAR DEMO + by deater (Vince Weaver) vince@deater.net + +Written for the Kansasfest Hackfest. + +I started work on this on the morning of Wed Jul 18th and finished +early in the AM on Saturday July 21st. + +NOTE: If you run the demo and the sound is scratchy and/or the graphics +corrupted, reboot until it works. Sometimes the vapor-lock doesn't +happen like it should and I'm not sure why. + + +How it works: + The Apple II lo-res mode is usually limited to 40x48 mode. + + However, there are two graphics pages that can be flipped + between with a soft-switch. + + If you switch between page0 and page1 at just the right time + (every 2 scan lines) you can create a pseudo 40x96 graphics + mode, using all 15 lo-res colors. + + Of course there's no VBLANK notification or HSCAN interrupts + on Apple II. So you have to read the "floating bus" to find + out when a scan line begins, and then count cycles to find + out where to switch things. + + All the calculations for the raster bar, mockingboard sound, + and scrolling text are done during the 4550 cycles of VBLANK. + + To save space, only two channels of audio are played. + + +Code by: deater (Vince Weaver) +LZ4 code: qkumba +Music: Muda Kingdom from Super Mario Land (gameboy) by Hirokazu Tanaka + transcribed from sheet music by G-Han + diff --git a/kfest2018/kfest18.dsk b/kfest2018/kfest18.dsk index 19733cece31df0a4464178592aae5b5da17af44a..cec76181e2d274fa25688bf0a61f83b49cd30876 100644 GIT binary patch delta 726 zcmZXSO-vI(6vyARyY04=c6DbBF<568g>7QAASgi_QeYLe)}|DM=%F!buzJvV@JcU> zTqNkyY%fik4Ij=?F*b$7vk(t^^Ja(#BpiT)@!Q}o7(6hUd71b7zr6oTW(uoZ!QQV? zlt-e`$|FJFkpo7GN6}#S4(zWT&{0#DQQ#3%eb1viL6-p4=y7BP?~Q_&W5IwH&JT<7 zwM*(irY+jqN&4fxy9rT~ne>PZm${Iw_l%G}HJ(w^L>ao0>{ZE4H9n-KBQjj)Ff2lj z3&Y}Pr9E;%?nw_ONjg4Y7t8h_y>E2nH;up<^hM|Wfr|nX>V$w$F9d}U28^%^yD@`V z?7?2lVITJ6Ivl|DIEX_ch)8saZjljL(Ia~8PPH*IdW@X=MTUP<&^EO#ZCfkRh-MIo zIe=s&I#_8YT@q!qO$tulS7{_elB3cG6>y|S|0`Pd$k$y`d0|2gPLxwj4NjIVJ2sb7 zTn$>v7WZy_Rk1!%z0ej#l0C_-YM>2;eYd3qND*Xt2*~!0Ogef0TTmvGQVl5$xy`3H zq`RiwfnDK$W-F&{|A`6yM|Pvan)g?%KNHsXnXNrr%j4LlypFBqw{7+Dvj$T1aQk^A z>-npV;dz_%c<)~DK!9+v0$^;NR%PAteKjPnU-vWM;0 znU2x1SOaBp)7rG@nkl{1wP&PrpSTYY?f~)ali4gq4Y`t5nl z1f9}KiH}Vb*7D9-%V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