Changeset 3370595 in buchla-68k for rom/lowram.s
- Timestamp:
- 08/07/2017 03:19:26 PM (7 years ago)
- Branches:
- master
- Children:
- 16badfe
- Parents:
- 27c8d40
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rom/lowram.s
r27c8d40 r3370595 79 79 | The equate for HI_RAM must be set to match the memory configuration used. 80 80 81 | For a 512K system, _Hi_RAM = 0x08000082 | For a 1024K system, _Hi_RAM = 0x10000081 | For a 512K system, Hi_RAM = 0x080000 82 | For a 1024K system, Hi_RAM = 0x100000 83 83 84 _Hi_RAM = 0x100000 | highest RAM address + 184 Hi_RAM = 0x100000 | highest RAM address + 1 85 85 86 86 .page … … 91 91 LOWRAM: lea basebss,a0 | setup bss base 92 92 move.l a0,p_bbase | ... 93 lea _Hi_RAM-0x400,a1| setup faked bss length93 lea Hi_RAM-0x400,a1 | setup faked bss length 94 94 suba.l a0,a1 | ... 95 95 move.l a1,p_blen | ... … … 107 107 move.l a1,p_tlen | ... 108 108 109 lea _Hi_RAM,a7 | setup stack pointer109 lea Hi_RAM,a7 | setup stack pointer 110 110 111 111 lea p_lowtpa,a0 | setup TPA base
Note:
See TracChangeset
for help on using the changeset viewer.