Promotes Donkey Kong Jr
Adds remaining NROM as _wip Update gitignore to not keep object files Adds AGENTS.md as this is an AI helped project
This commit is contained in:
1 parent
a29b03b00b
commit
9aef410424
412 files changed
+33427
-221
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -14262,7 +14262,7 @@ GetCurrentGeometryRecordOffset: ; $E46B
|
||||
;
|
||||
; Each entry selects:
|
||||
;
|
||||
; Y = offset into the geometry data beginning at $E413
|
||||
; Y = offset into the geometry data beginning at GeometryParameterData
|
||||
; A = geometry parameter stored in $C6
|
||||
;
|
||||
; The entries at $E474 and $E481 preserve parameters $0F and $05 by branching
|
||||
@@ -14478,7 +14478,7 @@ StoreGeometryParameter: ; $E4B5
|
||||
; ----------------------------------------------------------------------------
|
||||
; Contract:
|
||||
; Description: Implements Select Geometry Record From Object.
|
||||
; Entry: Registers: A; Memory: currentobjectindex, $e413, $e414, $e415, $e416
|
||||
; Entry: Registers: A; Memory: currentobjectindex, GeometryParameterData, $e414, $e415, $e416
|
||||
; Returns/products: Registers/clobbers: A, Y
|
||||
; Clobbers: A, X, Y, and processor flags as indicated by the instructions below.
|
||||
; Memory effects: $b2, $b3, $b4, $b5
|
||||
@@ -14503,7 +14503,7 @@ SelectGeometryRecordFromObject: ; $E4B8
|
||||
; Load a four-byte geometry record into $B2-$B5.
|
||||
;
|
||||
; Entry:
|
||||
; Y = byte offset into the geometry data beginning at $E413
|
||||
; Y = byte offset into the geometry data beginning at GeometryParameterData
|
||||
;
|
||||
; Exit:
|
||||
; $B2 = byte at $E413+Y
|
||||
@@ -14518,7 +14518,7 @@ SelectGeometryRecordFromObject: ; $E4B8
|
||||
; ----------------------------------------------------------------------------
|
||||
; Contract:
|
||||
; Description: Implements Load Geometry Record.
|
||||
; Entry: Registers: A; Memory: $e413, $e414, $e415, $e416
|
||||
; Entry: Registers: A; Memory: GeometryParameterData, $e414, $e415, $e416
|
||||
; Returns/products: Registers/clobbers: A
|
||||
; Clobbers: A, X, Y, and processor flags as indicated by the instructions below.
|
||||
; Memory effects: $b2, $b3, $b4, $b5
|
||||
@@ -14527,16 +14527,16 @@ SelectGeometryRecordFromObject: ; $E4B8
|
||||
; Validation: Inferred from annotated instructions and call sites; call sites: 6.
|
||||
; ----------------------------------------------------------------------------
|
||||
LoadGeometryRecord: ; $E4C2
|
||||
lda $E413,y ; $E4C2: B9 13 E4
|
||||
lda GeometryParameterData,y ; $E4C2: B9 13 E4
|
||||
sta $B2 ; $E4C5: 85 B2
|
||||
|
||||
lda $E414,y ; $E4C7: B9 14 E4
|
||||
lda GeometryParameterData+1,y ; $E4C7: B9 14 E4
|
||||
sta $B3 ; $E4CA: 85 B3
|
||||
|
||||
lda $E415,y ; $E4CC: B9 15 E4
|
||||
lda GeometryParameterData+2,y ; $E4CC: B9 15 E4
|
||||
sta $B4 ; $E4CF: 85 B4
|
||||
|
||||
lda $E416,y ; $E4D1: B9 16 E4
|
||||
lda GeometryParameterData+3,y ; $E4D1: B9 16 E4
|
||||
sta $B5 ; $E4D4: 85 B5
|
||||
|
||||
rts ; $E4D6: 60
|
||||
|
||||
Reference in new issue
Block a user