fix Galactic Attack launch

This commit is contained in:
Peter Ferrie 2024-06-20 14:59:59 -07:00
parent 3825147acc
commit f618e901c6
46 changed files with 87 additions and 45 deletions

View File

@ -2,4 +2,4 @@ a=new ActiveXObject("scripting.filesystemobject")
offset=a.getfile("BUILD\\TOTAL.DATA").size
new ActiveXObject("wscript.shell").run('cmd /c copy /b /y BUILD\\TOTAL.DATA + ' + WScript.Arguments(0) + ' BUILD\\TOTAL.DATA', 0, 1)
size=a.getfile(WScript.Arguments(0)).size
a.createtextfile(WScript.Arguments(1)).write(";\r\n; Index record for " + WScript.Arguments(0).replace(/\\/, "/") + "\r\n;\r\n; This file is automatically generated\r\n;\r\n !byte 0\r\n !be24 " + offset + "\r\n !le16 " + " ".substr(0, 8 - size.toString().length) + size + "\r\n")
a.createtextfile(WScript.Arguments(1)).write(";\r\n; Index record for " + WScript.Arguments(0).replace(/\\/, "/") + "\r\n;\r\n; This file is automatically generated\r\n;\r\n !byte 0\r\n !be24 " + " ".substr(0, 9 - offset.toString().length) + offset + "\r\n !le16 " + " ".substr(0, 8 - size.toString().length) + size + "\r\n")

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15908388
!be24 15908900
!le16 5130

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15846644
!be24 15847156
!le16 5732

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15778170
!be24 15778682
!le16 4229

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15793011
!be24 15793523
!le16 4700

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15811774
!be24 15812286
!le16 5621

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15832849
!be24 15833361
!le16 6213

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15914272
!be24 15914784
!le16 449

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15852376
!be24 15852888
!le16 1652

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15906712
!be24 15907224
!le16 1463

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15891460
!be24 15891972
!le16 575

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15863014
!be24 15863526
!le16 246

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15863260
!be24 15863772
!le16 538

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15863798
!be24 15864310
!le16 7582

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15908175
!be24 15908687
!le16 154

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15892035
!be24 15892547
!le16 4334

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15896369
!be24 15896881
!le16 1733

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15898102
!be24 15898614
!le16 1181

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15899283
!be24 15899795
!le16 3394

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15902677
!be24 15903189
!le16 3429

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15906585
!be24 15907097
!le16 127

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15876785
!be24 15877297
!le16 5101

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15881886
!be24 15882398
!le16 2485

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15839062
!be24 15839574
!le16 7582

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 4267008
!be24 4267520
!le16 8192

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 4283392
!be24 4283904
!le16 8192

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 4275200
!be24 4275712
!le16 8192

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15768529
!be24 15769041
!le16 9641

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15782399
!be24 15782911
!le16 10612

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15797711
!be24 15798223
!le16 14063

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15817395
!be24 15817907
!le16 15454

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15871380
!be24 15871892
!le16 5405

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15884371
!be24 15884883
!le16 7089

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15854028
!be24 15854540
!le16 4348

View File

@ -0,0 +1,42 @@
;license:MIT
;(c) 2024 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/GALACTIC.ATTACK",plain
*=$106
!source "src/macros.a"
+ENABLE_ACCEL
lda #$4C
sta $D95
lda #<callback1
sta $D96
lda #>callback1
sta $D97
jmp $800 ; load Pascal
callback1
ldy #(callback2_e - callback2_b) - 1
- lda callback2_b, y
sta callback2, y
dey
bpl -
lda #<callback2
sta $B75E
lda #>callback2
sta $B75F
jmp $B69E ; init system
callback2_b !pseudopc $BE40 {
callback2
lda #2
sta $BF2D ; fake floppy
+DISABLE_ACCEL
jmp $922D
}
callback2_e
!if * > $1C0 {
!error "code is too large, ends at ", *
}