hello gp routines

This commit is contained in:
2025-08-03 22:01:36 -04:00
parent 0a47b03dfa
commit 6e7809848b
6 changed files with 135 additions and 91 deletions
+5 -6
View File
@@ -27,11 +27,11 @@ main:
gp1 equ gpio_port1(reg_io_offset)
; Setup Display Control
gcmd_push gp0, rtmp_1, gp_Reset
gcmd_push gp0, rtmp_1, gp_DisplayEnabled
gcmd_push gp0, rtmp_1, gp_DisplayMode_320x240_15bit_NTSC
gcmd_push gp0, rtmp_1, gp_HorizontalDisplayRange_3168_608
gcmd_push gp0, rtmp_1, gp_VerticalDisplayRange_264_24
gcmd_push gp1, rtmp_1, gp_Reset
gcmd_push gp1, rtmp_1, gp_DisplayEnabled
gcmd_push gp1, rtmp_1, gp_DisplayMode_320x240_15bit_NTSC
gcmd_push gp1, rtmp_1, gp_HorizontalDisplayRange_3168_608
gcmd_push gp1, rtmp_1, gp_VerticalDisplayRange_264_24
gcmd_push gp0, rtmp_1, gp_ModeSetting_DipArea
gcmd_push gp0, rtmp_1, gp_SetArea_TopLeft | 0 << gp_b10_Y | 0 << gp_b10_X
gcmd_push gp0, rtmp_1, gp_SetArea_BottomRight | Display_Height << gp_b10_Y | Display_Width << gp_b10_X
@@ -67,4 +67,3 @@ idle:
jump idle :: nop
.close