mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-09-30 03:56:59 +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
|
!byte 0
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
DEBUG = 1
|
DEBUG = 0
|
||||||
!source "../include/debug.i"
|
!source "../include/debug.i"
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
@ -129,14 +129,6 @@ scanForResource: !zone scanForResource {
|
|||||||
ldx scanStart,y ; start scanning at last scan point
|
ldx scanStart,y ; start scanning at last scan point
|
||||||
stx .next+1 ; it also marks the ending point. Yes, self-modifying code.
|
stx .next+1 ; it also marks the ending point. Yes, self-modifying code.
|
||||||
.loop:
|
.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
|
ldy tSegLink,x ; grab link to next segment, which we'll need regardless
|
||||||
lda tSegResNum,x ; check number
|
lda tSegResNum,x ; check number
|
||||||
cmp resNum ; same resource number?
|
cmp resNum ; same resource number?
|
||||||
@ -1123,10 +1115,7 @@ disk_finishLoad: !zone disk_finishLoad {
|
|||||||
.keepOpenChk:
|
.keepOpenChk:
|
||||||
lda #11 ; self-modified to 0 or 1 at start of routine
|
lda #11 ; self-modified to 0 or 1 at start of routine
|
||||||
bne .keepOpen
|
bne .keepOpen
|
||||||
!if DEBUG {
|
!if DEBUG { +prStr : !text "Closing partition file.",0 }
|
||||||
+prStr
|
|
||||||
!text "Closing part file."
|
|
||||||
}
|
|
||||||
lda partitionFileRef
|
lda partitionFileRef
|
||||||
jsr closeFile
|
jsr closeFile
|
||||||
lda #0 ; zero out...
|
lda #0 ; zero out...
|
||||||
|
Loading…
Reference in New Issue
Block a user