Difference between revisions of "Geneve GPL Interpreter"
 (Created page with "== Speed selection ==  The GPL Interpreter allows for selecting the execution speed. Five speeds are selectable. The speed is determined by these settings:  {| class="plain" |-  ...")  | 
				|||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Mapping ==  | |||
For Speed 5 and MDOS DSR:  | |||
{| class="plainc" style="width:80%"  | |||
|-   | |||
! Page for 0000-1FFF  | |||
! Page for 2000-3FFF  | |||
! Page for 4000-5FFF  | |||
! Page for 6000-7FFF  | |||
! Page for 8000-9FFF  | |||
! Page for A000-BFFF  | |||
! Page for C000-DFFF  | |||
! Page for E000-FFFF  | |||
|-  | |||
| EC  | |||
| ED  | |||
| 07  | |||
| 36  | |||
| EE  | |||
| EF  | |||
| 03  | |||
| 35  | |||
|}  | |||
For different speeds different kinds of RAM (DRAM vs. SRAM) are used. The ROMPAGE feature sets the mapper address 8002 (4000-5FFF) to BA, which points to the address space of the peripheral card in the box; normally, page 07 is set which contains the GeneveOS Master DSR.  | |||
The cartridge ROM (6000-7FFF) is always mapped as page 36, while the second ROM page is 37; this is fixed inside the Gate Array in GPL mode, so changes to the settings at 8003 have no effect. The GROM pages are 38-3F. Page 03 must stay mapped to C000 (mapper address 8006) to enable GROM/GRAM and sound access; changing this values inhibits the access.  | |||
== Speed selection ==  | == Speed selection ==  | ||
The GPL Interpreter allows for selecting the execution speed. Five speeds are selectable. The speed is determined by these settings:  | The GPL Interpreter allows for selecting the execution speed. Five speeds are selectable. The speed is determined by these settings:  | ||
{| class="  | {| class="plainc"  | ||
|-    | |-    | ||
! Speed  | ! Speed  | ||
! Video waitstates  | ! Video waitstates  | ||
! Extra waitstates  | ! Extra waitstates  | ||
!   | ! Page for 0000-1FFF  | ||
!   | ! Page for 8000-9FFF  | ||
|-  | |-  | ||
| 1    | | 1    | ||
| Line 21: | Line 44: | ||
| x  | | x  | ||
| EC  | | EC  | ||
| 34  | | 34  | ||
|-  | |-  | ||
| 2    | | 2    | ||
| Line 33: | Line 50: | ||
| -  | | -  | ||
| 33  | | 33  | ||
| 34  | | 34  | ||
|-  | |-  | ||
| 3    | | 3    | ||
| Line 45: | Line 56: | ||
| -  | | -  | ||
| EC  | | EC  | ||
| 34  | | 34  | ||
|-  | |-  | ||
| 4    | | 4    | ||
| Line 57: | Line 62: | ||
| -  | | -  | ||
| 33  | | 33  | ||
| EE  | | EE  | ||
|-  | |-  | ||
| 5   | | 5  | ||
| x  | | x  | ||
| -  | | -  | ||
| EC  | | EC  | ||
| EE  | | EE  | ||
|-  | |-  | ||
|}  | |}  | ||
The memory pages EC, ED, EE, and EF are SRAM pages with 0 waitstate access. Other pages are DRAM pages with one waitstate. Thus, the speed is controlled by waitstates in the GPL interpreter (locations 0000-1FFF) and in the PAD RAM (8300-83FF), which is '''not''' the high speed [[on-chip RAM]] of the TMS9995 processor (which is always located at F000, regardless of the mapper value).  | |||
[[Category:Geneve]]  | [[Category:Geneve]]  | ||
Latest revision as of 17:54, 10 April 2021
Mapping
For Speed 5 and MDOS DSR:
| Page for 0000-1FFF | Page for 2000-3FFF | Page for 4000-5FFF | Page for 6000-7FFF | Page for 8000-9FFF | Page for A000-BFFF | Page for C000-DFFF | Page for E000-FFFF | 
|---|---|---|---|---|---|---|---|
| EC | ED | 07 | 36 | EE | EF | 03 | 35 | 
For different speeds different kinds of RAM (DRAM vs. SRAM) are used. The ROMPAGE feature sets the mapper address 8002 (4000-5FFF) to BA, which points to the address space of the peripheral card in the box; normally, page 07 is set which contains the GeneveOS Master DSR.
The cartridge ROM (6000-7FFF) is always mapped as page 36, while the second ROM page is 37; this is fixed inside the Gate Array in GPL mode, so changes to the settings at 8003 have no effect. The GROM pages are 38-3F. Page 03 must stay mapped to C000 (mapper address 8006) to enable GROM/GRAM and sound access; changing this values inhibits the access.
Speed selection
The GPL Interpreter allows for selecting the execution speed. Five speeds are selectable. The speed is determined by these settings:
| Speed | Video waitstates | Extra waitstates | Page for 0000-1FFF | Page for 8000-9FFF | 
|---|---|---|---|---|
| 1 | x | x | EC | 34 | 
| 2 | x | - | 33 | 34 | 
| 3 | x | - | EC | 34 | 
| 4 | x | - | 33 | EE | 
| 5 | x | - | EC | EE | 
The memory pages EC, ED, EE, and EF are SRAM pages with 0 waitstate access. Other pages are DRAM pages with one waitstate. Thus, the speed is controlled by waitstates in the GPL interpreter (locations 0000-1FFF) and in the PAD RAM (8300-83FF), which is not the high speed on-chip RAM of the TMS9995 processor (which is always located at F000, regardless of the mapper value).