kfest: modify it to load higher in memory

This commit is contained in:
Vince Weaver 2018-07-21 02:11:51 -04:00
parent 80cf53ee75
commit ddb39a92fa
3 changed files with 42 additions and 4 deletions

View File

@ -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

39
kfest2018/README Normal file
View File

@ -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

Binary file not shown.