mirror of
https://github.com/badvision/lawless-legends.git
synced 2025-02-24 16:29:12 +00:00
Migrated memory manager to ACME assembler format.
This commit is contained in:
parent
b809ca801b
commit
3bc19d002a
11
Platform/Apple/.project
Normal file
11
Platform/Apple/.project
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>Lawless-AppleII</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
</natures>
|
||||
</projectDescription>
|
@ -51,7 +51,7 @@ partitionFileRef:
|
||||
!byte 0
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
DEBUG = 1
|
||||
DEBUG = 0
|
||||
!source "../include/debug.i"
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
@ -129,14 +129,6 @@ scanForResource: !zone scanForResource {
|
||||
ldx scanStart,y ; start scanning at last scan point
|
||||
stx .next+1 ; it also marks the ending point. Yes, self-modifying code.
|
||||
.loop:
|
||||
!if DEBUG {
|
||||
txa
|
||||
jsr prbyte
|
||||
lda .next+1
|
||||
jsr prbyte
|
||||
lda #$a0
|
||||
jsr cout
|
||||
}
|
||||
ldy tSegLink,x ; grab link to next segment, which we'll need regardless
|
||||
lda tSegResNum,x ; check number
|
||||
cmp resNum ; same resource number?
|
||||
@ -1123,10 +1115,7 @@ disk_finishLoad: !zone disk_finishLoad {
|
||||
.keepOpenChk:
|
||||
lda #11 ; self-modified to 0 or 1 at start of routine
|
||||
bne .keepOpen
|
||||
!if DEBUG {
|
||||
+prStr
|
||||
!text "Closing part file."
|
||||
}
|
||||
!if DEBUG { +prStr : !text "Closing partition file.",0 }
|
||||
lda partitionFileRef
|
||||
jsr closeFile
|
||||
lda #0 ; zero out...
|
||||
|
Loading…
x
Reference in New Issue
Block a user