missing files

This commit is contained in:
Vince Weaver 2023-05-05 02:21:05 -04:00
parent 3bc06db7ba
commit a50edb886d
6 changed files with 91 additions and 0 deletions

2
games/sb/README Normal file
View File

@ -0,0 +1,2 @@
FN: animation based on Strong Bad E-mail #152 "ISP"
It's a long download of a "break-dancing" rat

View File

@ -0,0 +1,26 @@
include ../../../Makefile.inc
ZX02 = ~/research/6502_compression/zx02.git/build/zx02
PNG_TO_HGR = ../../../utils/hgr-utils/png2hgr
LINKER_SCRIPTS = ../../../linker_scripts
DOS33 = ../../../utils/dos33fs-utils/dos33
EMPTY_DISK = ../../../empty_disk/empty.dsk
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
all: \
sworg_hgr.hgr.zx02
####
sworg_hgr.hgr.zx02: sworg_hgr.hgr
$(ZX02) sworg_hgr.hgr sworg_hgr.hgr.zx02
sworg_hgr.hgr: sworg_hgr.png
$(PNG_TO_HGR) sworg_hgr.png > sworg_hgr.hgr
####
clean:
rm -f *~ *.o *.lst

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -0,0 +1,63 @@
;===========================
; Check Apple II model
;===========================
; this is mostly for IIc support
; as it does interrupts differently
; ' ' ($20) = Apple II
; '+' ($2B) = Apple II+
; 'E' ($45) = Apple IIe
; 'C' ($43) = Apple IIc
; 'G' ($47) = Apple IIgs
detect_appleii_model:
lda #' '
ldx $FBB3
; II is $38
; J-plus is $C9
; II+ is $EA (so is III)
; IIe and newer is $06
cpx #$38
beq done_apple_detect
lda #'+'
cpx #$EA
beq done_apple_detect
; TODO: check for J-plus or III?
cpx #$06
bne done_apple_detect
apple_iie_or_newer:
ldx $FBC0 ; $EA on a IIe
; $E0 on a IIe enhanced
; $00 on a IIc/IIc+
; $FE1F = $60, IIgs
beq apple_iic
lda #'E'
cpx #$EA
beq done_apple_detect
cpx #$E0
beq done_apple_detect
; assume GS?
lda #'G'
bne done_apple_detect
apple_iic:
lda #'C'
done_apple_detect:
sta APPLEII_MODEL
rts