Minor reorganization of code/data placement

This commit is contained in:
codemann8
2021-05-30 06:44:34 -05:00
parent dd2110f91d
commit ff87b09d4b

View File

@@ -1,7 +1,7 @@
org $aa8000 ;150000 org $aa8000 ;150000
db $4f, $52 ;OR db $4f, $52 ;OR
OWMode: OWMode:
db 0 dw 0
OWFlags: OWFlags:
dw 0 dw 0
org $aa8010 org $aa8010
@@ -13,7 +13,7 @@ org $02a999
jsl OWEdgeTransition : nop #4 ;LDA $02A4E3,X : ORA $7EF3CA jsl OWEdgeTransition : nop #4 ;LDA $02A4E3,X : ORA $7EF3CA
;Code ;Code
org $aaa000 org $aa8800
OWCoordIndex: ; Horizontal 1st OWCoordIndex: ; Horizontal 1st
db 2, 2, 0, 0 ; Coordinate Index $20-$23 db 2, 2, 0, 0 ; Coordinate Index $20-$23
OWOppCoordIndex: ; Horizontal 1st OWOppCoordIndex: ; Horizontal 1st
@@ -35,6 +35,7 @@ db 2, 2, 0, 0 ; For OWCameraRange
OWCameraRange: OWCameraRange:
dw $011E, $0100 ; Length of the range the camera can move on small screens dw $011E, $0100 ; Length of the range the camera can move on small screens
org $aa9000
OWEdgeTransition: OWEdgeTransition:
{ {
php : phy php : phy
@@ -219,7 +220,7 @@ OWNewDestination:
} }
;Data ;Data
org $aab000 org $aaa000
OWEdgeOffsets: OWEdgeOffsets:
;2 bytes per each direction per each OW Slot, order is NSWE per value at $0418 ;2 bytes per each direction per each OW Slot, order is NSWE per value at $0418
;AABB, A = offset to the transition table, B = number of transitions ;AABB, A = offset to the transition table, B = number of transitions
@@ -371,7 +372,7 @@ dw $0000, $4001, $0000, $0000
dw $0000, $0000, $0000, $4a01 dw $0000, $0000, $0000, $4a01
dw $0000, $4101, $0000, $0000 dw $0000, $4101, $0000, $0000
org $aab800 ;PC 153800 org $aaa800 ;PC 152800
OWNorthEdges: OWNorthEdges:
; Min Max Width Mid OW Slot/OWID VRAM *FREE* Dest Index ; Min Max Width Mid OW Slot/OWID VRAM *FREE* Dest Index
dw $00a0, $00a0, $0000, $00a0, $0000, $0000, $0000, $0040 ;Lost Woods dw $00a0, $00a0, $0000, $00a0, $0000, $0000, $0000, $0040 ;Lost Woods