1
0
mirror of https://github.com/mist-devel/mist-board.git synced 2026-02-05 23:54:41 +00:00

[Gameboy] Add forced color mode

This commit is contained in:
Gyorgy Szombathelyi
2019-02-16 13:55:34 +01:00
parent 072f355849
commit cc1af43816

View File

@@ -70,17 +70,18 @@ wire [7:0] joystick_1;
parameter CONF_STR = {
"GAMEBOY;;",
"F,GBCGB ,Load;",
"O4,Mode,Auto,Color;",
"O1,LCD color,white,yellow;",
"O2,Boot,Normal,Fast;",
"T3,Reset"
};
parameter CONF_STR_LEN = 9+14+26+20+8;
parameter CONF_STR_LEN = 9+14+19+26+20+8;
// the status register is controlled by the on screen display (OSD)
wire [7:0] status;
wire [1:0] buttons;
wire isGBC = dio_index[7:6] == 0;
wire isGBC = (dio_index[7:6] == 0) || status[4];
// include user_io module for arm controller communication
user_io #(.STRLEN(CONF_STR_LEN)) user_io (