Control Page: Difference between revisions

From NerdConsole
Jump to navigationJump to search
No edit summary
No edit summary
Line 8: Line 8:
|-
|-
! 0x  
! 0x  
| class="input_latch_clock" | R || class="input_data" | W
| class="input_latch_clock" title="$0200 - Input Latch/Clock" | W
| class="audio_address_flag" | W || class="audio_address_data" | W  
| class="input_data" title="$0201 - Input Data" | R
| class="select_main_ram" | W || class="select_extended_ram" | W  
| class="audio_address_flag" title="$0202 - Audio Address Flag" | W  
| class="select_low_rom" | W || class="select_high_rom" | W  
| class="audio_address_data" title="$0203 - Audio Address Data" | W  
| class="select_main_ram" title="$0204 - Main RAM Select" | W  
| class="select_extended_ram" title="$0205 - Extended RAM Select" | W  
| class="select_low_rom" title="$0206 - Low ROM Select" | W  
| class="select_high_rom" title="$0207 - High ROM Select" | W  
| - || - || - || - || - || - || - || -
| - || - || - || - || - || - || - || -
|-
|-
Line 38: Line 42:
|-
|-
! 8x  
! 8x  
| class="scroll_x0" | W || class="scroll_x0" | W  
| class="scroll_x0" title="$0280 - X Scroll (BG0) [Low]" | W  
| class="scroll_y0" | W || class="scroll_y0" | W  
| class="scroll_x0" title="$0281 - X Scroll (BG0) [High]" | W  
| class="scroll_x1" | W || class="scroll_x1" | W  
| class="scroll_y0" title="$0282 - Y Scroll (BG0) [Low]" | W  
| class="scroll_y1" | W || class="scroll_y1" | W  
| class="scroll_y0" title="$0283 - Y Scroll (BG0) [High]" | W  
| class="scroll_x2" | W || class="scroll_x2" | W  
| class="scroll_x1" title="$0284 - X Scroll (BG1) [Low]" | W  
| class="scroll_y2" | W || class="scroll_y2" | W  
| class="scroll_x1" title="$0285 - X Scroll (BG1) [High]" | W  
| class="scroll_x3" | W || class="scroll_x3" | W  
| class="scroll_y1" title="$0286 - Y Scroll (BG1) [Low]" | W  
| class="scroll_x3" | W || class="scroll_x3" | W  
| class="scroll_y1" title="$0287 - Y Scroll (BG1) [High]" | W  
| class="scroll_x2" title="$0288 - X Scroll (BG2) [Low]" | W  
| class="scroll_x2" title="$0289 - X Scroll (BG2) [High]" | W  
| class="scroll_y2" title="$028A - Y Scroll (BG2) [Low]" | W  
| class="scroll_y2" title="$028B - Y Scroll (BG2) [High]" | W  
| class="scroll_x3" title="$028C - X Scroll (BG3) [Low]" | W  
| class="scroll_x3" title="$028D - X Scroll (BG3) [High]" | W  
| class="scroll_x3" title="$028E - Y Scroll (BG3) [Low]" | W  
| class="scroll_x3" title="$028F - Y Scroll (BG3) [High]" | W  
|-
|-
! 9x  
! 9x  
| class="fixed_regions_top_bottom" | W || class="fixed_regions_left_right" | W  
| class="fixed_regions_top_bottom" title="$0290 - Fixed Regions Top/Bottom" | W  
| class="fixed_regions_left_right" title="$0291 - Fixed Regions Left/Right" | W  
| - || - || - || - || - || -  
| - || - || - || - || - || -  
| class="select_name_table" | W  
| class="select_name_table" title="$0298 - Name Table Select" | W  
| - || - || - || - || -  
| - || - || - || - || -  
| class="select_tileset_read" | W || class="select_tileset_write" | W
| class="select_tileset_read" title="$0298E - Tileset Read Select" | W  
| class="select_tileset_write" title="$0298F - Tileset Write Select" | W
|-
|-
! Ax  
! Ax  
| class="color_cycle_speed_bg" | W || class="color_cycle_speed_sprite" | W  
| class="color_cycle_speed_bg" title="$02A0 - Background Color Cycle Speed" | W  
| class="color_cycle_speed_sprite" title="$02A1 - Sprite Color Cycle Speed" | W  
| - || - || - || - || - || -  
| - || - || - || - || - || -  
| class="tileset_cycle_speed_bg" | W || class="tileset_cycle_limit_bg" | W  
| class="tileset_cycle_speed_bg" title="$02A8 - Background Tileset Cycle Speed" | W  
| class="tileset_cycle_speed_sprite" | W || class="tileset_cycle_limit_sprite" | W  
| class="tileset_cycle_limit_bg" title="$02A9 - Background Tileset Cycle Limit" | W  
| class="tileset_cycle_speed_sprite" title="$02AA - Sprite Tileset Cycle Speed" | W  
| class="tileset_cycle_limit_sprite" title="$02AB - Sprite Tileset Cycle Limit" | W  
|| - || - || - || -
|| - || - || - || -
|-
|-
! Bx  
! Bx  
| class="last_sprite" | W  
| class="last_sprite" title="$02B0 - Last Sprite" | W  
| - || - || - || - || - || - || - || - || - || - || - || - || - || - || -
| - || - || - || - || - || - || - || - || - || - || - || - || - || - || -
|-
|-
! Cx  
! Cx  
| class="special_command_param" | W || class="special_command_param" | W  
| class="special_command_param" title="$02C0 - Special Command Param 0" | W  
| class="special_command_param" | W || class="special_command_param" | W  
| class="special_command_param" title="$02C1 - Special Command Param 1" | W  
| class="special_command_param" | W || class="special_command_param" | W  
| class="special_command_param" title="$02C2 - Special Command Param 2" | W  
| class="special_command_param" | W || class="special_command_param" | W  
| class="special_command_param" title="$02C3 - Special Command Param 3" | W  
| class="special_command_return" | R || class="special_command_return" | R  
| class="special_command_param" title="$02C4 - Special Command Param 4" | W  
| class="special_command_return" | R || class="special_command_return" | R  
| class="special_command_param" title="$02C5 - Special Command Param 5" | W  
| class="special_command_return" | R || class="special_command_return" | R  
| class="special_command_param" title="$02C6 - Special Command Param 6" | W  
| class="special_command_return" | R || class="special_command_return" | R  
| class="special_command_param" title="$02C7 - Special Command Param 7" | W  
| class="special_command_return" title="$02C8 - Special Command Return 0" | R  
| class="special_command_return" title="$02C9 - Special Command Return 1" | R  
| class="special_command_return" title="$02CA - Special Command Return 2" | R  
| class="special_command_return" title="$02CB - Special Command Return 3" | R  
| class="special_command_return" title="$02CC - Special Command Return 4" | R  
| class="special_command_return" title="$02CD - Special Command Return 5" | R  
| class="special_command_return" title="$02CE - Special Command Return 6" | R  
| class="special_command_return" title="$02CF - Special Command Return 7" | R  
|-
|-
! Dx  
! Dx  
| class="special_command" | W || class="special_command_status" | R  
| class="special_command" title="$02D0 - Special Command" | W  
| class="special_command_status" title="$02D1 - Special Command Status" | R  
| - || - || - || - || - || - || - || - || - || - || - || - || - || -  
| - || - || - || - || - || - || - || - || - || - || - || - || - || -  
|-
|-
! Ex  
! Ex  
| class="bitmap_config" | W || class="bitmap_control" | W  
| class="bitmap_config" title="$02E0 - Bitmap Config" | W  
| class="bitmap_control" title="$02E1 - Bitmap Control" | W  
| - || - || - || - || - || -  
| - || - || - || - || - || -  
| class="bitmap_address" | W || class="bitmap_address" | W || class="bitmap_address" | W  
| class="bitmap_address" title="$02E8 - Bitmap Address [Low]" | W  
| class="bitmap_address" title="$02E9 - Bitmap Address [Mid]" | W  
| class="bitmap_address" title="$02EA - Bitmap Address [High]" | W  
| - || - || - || -  
| - || - || - || -  
| class="bitmap_data" | W
| class="bitmap_data" title="$02EF - Bitmap Data" | W
|-
|-
! Fx  
! Fx  
| class="debug_display" | W || class="debug_display" | W  
| class="debug_display" title="$02F0 - Debug Display" | W  
| class="debug_display" title="$02F1 - Debug Display" | W  
| - || - || - || - || - || -  
| - || - || - || - || - || -  
| class="active_features" | W || class="active_features" | W || class="active_features" | W  
| class="active_features" title="$02F8 - Active Features" | W  
| class="active_features" title="$02F9 - Active Features" | W  
| class="active_features" title="$02FA - Active Features" | W  
| - || - || - || -  
| - || - || - || -  
| class="graphics_mode" | W
| class="graphics_mode" title="$02FF - Graphics Mode" | W


|}
|}
Line 154: Line 186:
|-
|-
| class="select_name_table" |  
| class="select_name_table" |  
| $029E || Name Table Select
| $0298 || Name Table Select
|-
|-
| class="select_tileset_read" |  
| class="select_tileset_read" |  

Revision as of 19:55, 14 January 2024

The Control Page is a page of memory that is devoted to connecting to other parts of NerdConsole. All of the other systems that can be addressed are collected in the Control Page to ensure the maximum amount of contiguous available memory. The Control Page gives access to the controllers, audio, RAM and ROM banking, and the graphics system.

Control Page Map ($02xx)

0 1 2 3 4 5 6 7 8 9 A B C D E F
0x W R W W W W W W - - - - - - - -
1x - - - - - - - - - - - - - - - -
2x - - - - - - - - - - - - - - - -
3x - - - - - - - - - - - - - - - -
4x - - - - - - - - - - - - - - - -
5x - - - - - - - - - - - - - - - -
6x - - - - - - - - - - - - - - - -
7x - - - - - - - - - - - - - - - -
8x W W W W W W W W W W W W W W W W
9x W W - - - - - - W - - - - - W W
Ax W W - - - - - - W W W W - - - -
Bx W - - - - - - - - - - - - - - -
Cx W W W W W W W W R R R R R R R R
Dx W R - - - - - - - - - - - - - -
Ex W W - - - - - - W W W - - - - W
Fx W W - - - - - - W W W - - - - W

Key

Color Address Description
$0200 Input Latch/Clock
$0201 Input Data
$0202 Audio Address Flag
$0203 Audio Address/Data
$0204 Main RAM Select
$0205 Extended RAM Select
$0206 Low ROM Select
$0207 High ROM Select
$0280 - $0281 X Scroll (BG0)
$0282 - $0283 Y Scroll (BG0)
$0284 - $0285 X Scroll (BG1)
$0286 - $0287 Y Scroll (BG1)
$0288 - $0289 X Scroll (BG2)
$028A - $028B Y Scroll (BG2)
$028C - $028D X Scroll (BG3)
$028E - $028F Y Scroll (BG3)
$0290 Fixed Regions Top/Bottom
$0291 Fixed Regions Left/Right
$0298 Name Table Select
$029E Tileset Read Select
$029F Tileset Write Select
$02A0 Background Color Cycle Speed
$02A1 Sprite Color Cycle Speed
$02A8 Background Tileset Cycle Speed
$02A9 Background Tileset Cycle Limit
$02AA Sprite Tileset Cycle Speed
$02AB Sprite Tileset Cycle Limit
$02B0 Last Sprite
$02C0 - $02C7 Special Command Parameters
$02C8- $02CF Special Command Returns
$02D0 Special Command
$02D1 Special Command Status
$02E0 Bitmap Config
$02E1 Bitmap Control
$02E8 - $02A Bitmap Address
$02EF Bitmap Data
$02F0 - $02F1 Debug Display
$02F8 - $02FA Active Features
$02FF Graphics Mode