convert some demos to use TOTAL.DATA

This commit is contained in:
Peter Ferrie 2022-09-10 20:39:10 -07:00
parent 089f965c57
commit 86d41b6b11
46 changed files with 59 additions and 87 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -52,7 +52,7 @@ LODE.RUNNER=Type(06),AuxType(0200),Access(C3)
LOST.TOMB=Type(06),AuxType(0300),Access(C3)
MC=Type(06),AuxType(0200),Access(C3)
MOON.PATROL=Type(06),AuxType(0200),Access(C3)
NIGHT.STALKER=Type(06),AuxType(A000),Access(C3)
NIGHT.STALKER=Type(06),AuxType(BD00),Access(C3)
NI=Type(06),AuxType(0300),Access(C3)
N.O.R.A.D=Type(06),AuxType(0330),Access(C3)
NIBBLER=Type(06),AuxType(0300),Access(C3)
@ -65,7 +65,7 @@ PLASMANIA=Type(06),AuxType(0200),Access(C3)
PHASER.FIRE=Type(06),AuxType(B200),Access(C3)
POOYAN=Type(06),AuxType(0300),Access(C3)
REPTON=Type(06),AuxType(0200),Access(C3)
ROBOTRON.2084=Type(06),AuxType(BF70),Access(C3)
ROBOTRON.2084=Type(06),AuxType(9000),Access(C3)
SAMMY.LIGHTFOOT=Type(06),AuxType(BA00),Access(C3)
SERPENTINE=Type(06),AuxType(0300),Access(C3)
SHORT.CIRCUIT=Type(06),AuxType(0210),Access(C3)

View File

@ -93,7 +93,7 @@
00070,BR=Buck Rogers: Planet of Zoom
00071,BUG.ATTACK=Bug Attack
00011,BUG.BATTLE=Bug Battle
00030,BU=BurgerTime
00031,BU=BurgerTime
00011,BUTCHERBOB.86=ButcherBob '86
00011,BUZZARD.BAIT=Buzzard Bait
00000,CV=C'est La Vie
@ -296,7 +296,7 @@
00041,NIBBLER=Nibbler
00001,NIGHT.CRAWLER=Night Crawler
00070,NM=Night Mission Pinball
00010,NIGHT.STALKER=Night Stalker
00011,NIGHT.STALKER=Night Stalker
00010,NI=Nightmare Gallery
00011,OM=O'Riley's Mine
00010,OID.ZONE=Oid Zone
@ -357,7 +357,7 @@
00051,ROADBLOCK=Roadblock
01170,ROBOCOP=Robocop
00011,ROBOT.BATTLE=Robot Battle
00010,ROBOTRON.2084=Robotron 2084
00011,ROBOTRON.2084=Robotron 2084
00010,ROUND.ABOUT=Round About
00010,RUN.FOR.IT=Run For It
00011,RUSSKI.DUCK=Russki Duck

View File

@ -8,29 +8,15 @@
!source "src/constants.a" ; no code in these
!source "src/macros.a"
+READ_RAM2_WRITE_RAM2
jsr EnableAccelerator
;+LOAD_FILE_KEEP_DIR
ldx #0 ; read to main memory
stx ldrhi
stx ldrlo
+LDADDR title
jsr iLoadFileDirect
ldx #5-1 ; we also need to copy the length byte
- lda newpath,x
sta $BFD0,x
dex
bpl -
+ENABLE_ACCEL
+LOAD_XSINGLE title
lda #$60
sta $3ec9
sta $3f09
jsr $3e97 ; decompress
jsr DisableAccelerator
+READ_ROM_NO_WRITE
+DISABLE_ACCEL
lda #$4C
sta $653F
@ -75,12 +61,8 @@
jmp $a300
newpath
!byte 4
!text "X/BU"
title !byte x_e-x_b
x_b !text "X/BU/BU"
x_b !text "BU"
x_e
!if * > $3F0 {

View File

@ -3,7 +3,7 @@
!cpu 6502
!to "res/DEMO/NIGHT.STALKER",plain
*=$a000
*=$BD00
!source "src/constants.a" ; no code in these
!source "src/macros.a"
@ -18,10 +18,8 @@
eor #$A5
sta $618E ; fix reset checksum
; (game picks up vectors from un-initialized memory)
+READ_RAM2_WRITE_RAM2
jsr EnableAccelerator
+LOAD_FILE_AT night_stalker, $00
+READ_ROM_NO_WRITE
+ENABLE_ACCEL
+LOAD_XSINGLE title
lda #$60
sta $6017
sta $603F
@ -100,6 +98,6 @@ patch !byte $20,$30,$AB,$CE,$24,$03,$D0,$03,$4C,$00,$01,$60,$AD,$6F,$03,$05,$
}
x_e
night_stalker
!byte 29
!text "X/NIGHT.STALKER/NIGHT.STALKER"
title !byte xx_e-xx_b
xx_b !text "NIGHT.STALKER"
xx_e

View File

@ -3,20 +3,13 @@
!cpu 6502
!to "res/DEMO/ROBOTRON.2084",plain
*=$BF70
*=$9000
!source "src/constants.a" ; no code in these
!source "src/macros.a"
+READ_RAM2_WRITE_RAM2
jsr EnableAccelerator
;+LOAD_FILE_KEEP_DIR
ldx #0 ; read to main memory
stx ldrhi
stx ldrlo
+LDADDR title
jsr iLoadFileDirect
+ENABLE_ACCEL
+LOAD_XSINGLE title
lda #<callback
sta $141D+1
@ -39,8 +32,7 @@ callback ldx #6-1
lda #$D0
sta $053B ; disable sound
jsr DisableAccelerator
+READ_ROM_NO_WRITE
+DISABLE_ACCEL
jmp $4015
@ -49,7 +41,7 @@ patch1 !byte $AD,$88,$C0,$6C,$FC,$FF
patch2 !byte $4C,$42,$45
title !byte x_e-x_b
x_b !text "X/ROBOTRON.2084/ROBOTRON.2084"
x_b !text "ROBOTRON.2084"
x_e
!if * > $C000 {

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14996180
!be24 15037276
!le16 5108

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14943903
!be24 14984999
!le16 5562

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14879883
!be24 14920979
!le16 3932

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14893722
!be24 14934818
!le16 4354

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14911012
!be24 14952108
!le16 5527

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14930798
!be24 14971894
!le16 6146

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15001288
!be24 15042384
!le16 410

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15002042
!be24 15043138
!le16 448

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15002490
!be24 15043586
!le16 303

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14952105
!be24 14993201
!le16 1640

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15001774
!be24 15042870
!le16 67

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14996121
!be24 15037217
!le16 59

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14994587
!be24 15035683
!le16 1437

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14979746
!be24 15020842
!le16 537

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14949465
!be24 14990561
!le16 2640

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14954103
!be24 14995199
!le16 6959

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15001698
!be24 15042794
!le16 76

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14996024
!be24 15037120
!le16 97

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15001841
!be24 15042937
!le16 201

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14980283
!be24 15021379
!le16 4645

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14984928
!be24 15026024
!le16 1702

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14986630
!be24 15027726
!le16 1087

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14987717
!be24 15028813
!le16 3279

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14990996
!be24 15032092
!le16 2998

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14993994
!be24 15035090
!le16 479

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14994473
!be24 15035569
!le16 114

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15002793
!be24 15043889
!le16 2370

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14966279
!be24 15007375
!le16 4692

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14970971
!be24 15012067
!le16 2271

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14936944
!be24 14978040
!le16 6959

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14870850
!be24 14911946
!le16 9033

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14883815
!be24 14924911
!le16 9907

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14898076
!be24 14939172
!le16 12936

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14916539
!be24 14957635
!le16 14259

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14953745
!be24 14994841
!le16 358

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14961062
!be24 15002158
!le16 5217

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14973242
!be24 15014338
!le16 6504

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 14866985
!le16 3865
!be24 14908045
!le16 3901