mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:35:47 +00:00
[FREELDR] Fix typos and PC-98 boot (#2564)
- INT 18h, AH=A0h doesn't exist, it was meant to be AH=0Ah. Thanks to SimK (@simk98l) on twitter for bug reporting and fix. - Adress -> Address.
This commit is contained in:
parent
2ac13afefc
commit
61d966bf1a
2 changed files with 8 additions and 8 deletions
|
@ -89,7 +89,7 @@ WRITE_GDC_CSRFORM(PUCHAR Port, PCSRFORMPARAM CursorParameters)
|
|||
#define GDC_COMMAND_CSRW 0x49
|
||||
typedef struct _CSRWPARAM
|
||||
{
|
||||
ULONG CursorAdress;
|
||||
ULONG CursorAddress;
|
||||
UCHAR DotAddress;
|
||||
} CSRWPARAM, *PCSRWPARAM;
|
||||
|
||||
|
@ -97,13 +97,13 @@ FORCEINLINE
|
|||
VOID
|
||||
WRITE_GDC_CSRW(PUCHAR Port, PCSRWPARAM CursorParameters)
|
||||
{
|
||||
ASSERT(CursorParameters->CursorAdress < 0xF00000);
|
||||
ASSERT(CursorParameters->CursorAddress < 0xF00000);
|
||||
ASSERT(CursorParameters->DotAddress < 0x10);
|
||||
|
||||
WRITE_PORT_UCHAR(Port, CursorParameters->CursorAdress & 0xFF);
|
||||
WRITE_PORT_UCHAR(Port, (CursorParameters->CursorAdress >> 8) & 0xFF);
|
||||
WRITE_PORT_UCHAR(Port, CursorParameters->CursorAddress & 0xFF);
|
||||
WRITE_PORT_UCHAR(Port, (CursorParameters->CursorAddress >> 8) & 0xFF);
|
||||
WRITE_PORT_UCHAR(Port, (CursorParameters->DotAddress << 4) |
|
||||
((CursorParameters->CursorAdress >> 16) & 0x03));
|
||||
((CursorParameters->CursorAddress >> 16) & 0x03));
|
||||
}
|
||||
|
||||
#define GDC_COMMAND_PRAM 0x70
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue