User Tools

Site Tools


openomf:memory_map

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
openomf:memory_map [2025/03/13 22:07] – [Table] aokmaniac13openomf:memory_map [2025/03/28 00:57] (current) – [HAR] aokmaniac13
Line 7: Line 7:
 ==== General Layout ==== ==== General Layout ====
  
-^ offset ^ name ^ description ^ + offset      name               description                                                                        
-      +0x1F77C6             P1 Select               | The highlighted option on the select screen, change to 10 to select Kreissack/Nova | ++0x1F7398   | Rec Ticks          | Counts up time in a match                                                           | 
-      +0x1F77CE             P2 Select               | The highlighted option on the select screen, change to 10 to select Kreissack/Nova | +|  +0x1F77C6   P1 Select         | The highlighted option on the select screen, change to 10 to select Kreissack/Nova  
-| +0x1F7970 | P1 HAR Pointer | Hopefully points to the addresses listed below   + +0x1F77CE   P2 Select         | The highlighted option on the select screen, change to 10 to select Kreissack/Nova  
-| +0x1F7974 | P2 HAR Pointer | Hopefully points to the addresses listed below         + +0x1F7970   P1 HAR Pointer     Hopefully points to the addresses listed below                                     
-| +0x1F7978 | P1 Pilot Pointer | + +0x1F7974   P2 HAR Pointer     Hopefully points to the addresses listed below                                     
-| +0x1F797C | P2 Pilot Pointer | + +0x1F7978   P1 Pilot Pointer                                                                                      
-      +0x1FEB5C             Raster                You can poke at the bits on screen here     + +0x1F797C   P2 Pilot Pointer                                                                                      
-| +0x215038 | P1 HAR Struct | Not a pointer, this is just where the data begins.  See below table | + +0x1FEB5C   Raster             You can poke at the bits on screen here                                            
-| +0x220038 | P2 HAR Struct | Not a pointer, this is just where the data begins.  See below table |+ +0x215038   P1 HAR Struct      Not a pointer, this is just where the data begins.  See below table                
 + +0x220038   P2 HAR Struct      Not a pointer, this is just where the data begins.  See below table                |
  
 ---- ----
Line 36: Line 37:
 |       +0x04C  |       Animation     | Current animation | |       +0x04C  |       Animation     | Current animation |
 |       +0x078  |       Player Count  | WORD # of ticks since last animation was initiated, does not reset when hit(?) | |       +0x078  |       Player Count  | WORD # of ticks since last animation was initiated, does not reset when hit(?) |
-|       +0x088  |       Current Stun     Starts at 0.  Increases when hit until it exceeds the stun limit, then is set negative.  HAR is stunned until it goes back to 0. | +|       +0x088  |       Current Stun     4 byte signed integer, starts at 0.  Increases when hit until it exceeds the stun limit, then is set negative.  HAR is stunned until it goes back to 0. | 
-|       +0x0A8  |       X Position | 4 byte pseudo-float.  Divide by 256 to get the pixel value | +|       +0x0A8  |       X Position | 4 byte fixed point number.  Divide by 256 to get the pixel value | 
-|       +0x0AC  |       Y Position | 4 byte pseudo-float.  Divide by 256 to get the pixel value.  0 is the top of the screen | +|       +0x0AC  |       Y Position | 4 byte fixed point number.  Divide by 256 to get the pixel value.  0 is the top of the screen | 
-|       +0x0B0  |       Velocity | 4 byte pseudo-float. | +|       +0x0B0  |       Velocity | 4 byte fixed point number. | 
-|       +0x0B4  |       Velocity | 4 byte pseudo-float. |+|       +0x0B4  |       Velocity | 4 byte fixed point number. |
 |       +0x0F8  |       Enemy Pointer | Pointer to the other HAR | |       +0x0F8  |       Enemy Pointer | Pointer to the other HAR |
  
openomf/memory_map.1741925264.txt.gz · Last modified: 2025/03/13 22:07 by aokmaniac13