update J3_GetMachineCode()

This commit is contained in:
Wengier
2021-11-21 02:53:16 -05:00
parent abe859cfa5
commit 2186554105
3 changed files with 3 additions and 3 deletions

View File

@@ -81,6 +81,7 @@ void INT8_J3();
void INT60_J3_Setup(); void INT60_J3_Setup();
uint8_t GetKanjiAttr(); uint8_t GetKanjiAttr();
uint16_t GetGaijiSeg(); uint16_t GetGaijiSeg();
uint16_t J3_GetMachineCode();
void J3_SetBiosArea(uint16_t mode); void J3_SetBiosArea(uint16_t mode);
enum DOSV_VTEXT_MODE { enum DOSV_VTEXT_MODE {

View File

@@ -1407,8 +1407,8 @@ Bitu INT16_Handler(void) {
if(reg_ax == size / 2) { if(reg_ax == size / 2) {
reg_ax = 0xffff; reg_ax = 0xffff;
} }
// J-3100 machine code(dummy) // J-3100 machine code
reg_bx = 0x6a74; reg_bx = J3_GetMachineCode();
} }
break; break;
default: default:

View File

@@ -39,7 +39,6 @@
#define GFX_REGS 0x09 #define GFX_REGS 0x09
#define ATT_REGS 0x15 #define ATT_REGS 0x15
uint16_t J3_GetMachineCode();
void J3_GetPalette(uint8_t no, uint8_t &r, uint8_t &g, uint8_t &b); void J3_GetPalette(uint8_t no, uint8_t &r, uint8_t &g, uint8_t &b);
extern bool window_was_maximized; extern bool window_was_maximized;
extern bool enable_vga_8bit_dac; extern bool enable_vga_8bit_dac;