diff --git a/games/sb/README b/games/sb/README new file mode 100644 index 00000000..7b937948 --- /dev/null +++ b/games/sb/README @@ -0,0 +1,2 @@ +FN: animation based on Strong Bad E-mail #152 "ISP" + It's a long download of a "break-dancing" rat diff --git a/vaporlock/doubledouble/graphics/Makefile b/vaporlock/doubledouble/graphics/Makefile new file mode 100644 index 00000000..77a31edd --- /dev/null +++ b/vaporlock/doubledouble/graphics/Makefile @@ -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 diff --git a/vaporlock/doubledouble/graphics/sword_dhgr.png b/vaporlock/doubledouble/graphics/sword_dhgr.png new file mode 100644 index 00000000..a547c2ca Binary files /dev/null and b/vaporlock/doubledouble/graphics/sword_dhgr.png differ diff --git a/vaporlock/doubledouble/graphics/sworg_dgr.png b/vaporlock/doubledouble/graphics/sworg_dgr.png new file mode 100644 index 00000000..392aa49a Binary files /dev/null and b/vaporlock/doubledouble/graphics/sworg_dgr.png differ diff --git a/vaporlock/doubledouble/graphics/sworg_hgr.png b/vaporlock/doubledouble/graphics/sworg_hgr.png new file mode 100644 index 00000000..37e8ce51 Binary files /dev/null and b/vaporlock/doubledouble/graphics/sworg_hgr.png differ diff --git a/vaporlock/doubledouble/pt3_lib_detect_model.s b/vaporlock/doubledouble/pt3_lib_detect_model.s new file mode 100644 index 00000000..31c1b8dc --- /dev/null +++ b/vaporlock/doubledouble/pt3_lib_detect_model.s @@ -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