![]() |
Routines |
| Prev: 38966 | Up: Map | Next: 39066 |
|
Used by the routine at PopulatePrimaryDisplay_LayoutData.
|
||||||||
| 39032 | LD E,(IX+2) | Load DE with address of graphic layout data for entity. | ||||||
| 39035 | LD D,(IX+3) | |||||||
| 39038 | LD A,(28066) | Load A with TempStore_RoomDimension_YCoordinateTopEdge and add y-coordinate of graphic element to draw as offset, subtract 100 and load into L. | ||||||
| 39041 | ADD A,(IX+4) | |||||||
| 39044 | SUB 100 | |||||||
| 39046 | LD L,A | |||||||
| 39047 | LD A,(28064) | Load A with TempStore_RoomDimension_XCoordinateLeftEdge and add x-coordinate of graphic element to draw as offset, subtract 100 and load into H. | ||||||
| 39050 | ADD A,(IX+5) | |||||||
| 39053 | SUB 100 | |||||||
| 39055 | LD H,A | |||||||
| 39056 | LD (28106),HL | Store x- and y-coordinates at DrawingYCo-Ordinate/ DrawingXCo-Ordinate. | ||||||
| 39059 | PUSH DE | Load IX with address of graphic layout data in simple/complex state data. | ||||||
| 39060 | POP IX | |||||||
| 39062 | LD B,0 | Reset do-not-recalculate-display-buffer-address flag, as address not yet calculated. | ||||||
| 39064 | JR 39070 | Jump to 39070 (read / process data at address in IX). | ||||||
| Prev: 38966 | Up: Map | Next: 39066 |