mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-24 14:38:05 +11:00
58ec54fc97
Gave more priority to CPU in the emulator because initialization would otherwise be horrendously slow.
9 lines
243 B
Plaintext
9 lines
243 B
Plaintext
: _cmd LCD_PORT_CMD PC! LCDWAIT ;
|
|
: _data! LCD_PORT_DATA PC! LCDWAIT ;
|
|
: _data@ LCD_PORT_DATA PC@ LCDWAIT ;
|
|
: LCDOFF 0x02 ( CMD_DISABLE ) _cmd ;
|
|
: _col! ( col -- )
|
|
0x20 ( CMD_COL ) + _cmd ;
|
|
: _row! ( row -- )
|
|
0x80 ( CMD_ROW ) + _cmd ;
|