mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-08 06:45:16 +00:00
Emulates port &H3C0 to disable/enable blinking using OUT.
Again, thanks to _vince for contributing this bit.
This commit is contained in:
parent
2c153b3db0
commit
de75b0aa29
|
@ -14251,6 +14251,11 @@ void sub_out(int32 port,int32 data){
|
||||||
port=port&65535;
|
port=port&65535;
|
||||||
data=data&255;
|
data=data&255;
|
||||||
|
|
||||||
|
if (port==0x3C0) {
|
||||||
|
H3C0_blink_enable = data&(1<<3);
|
||||||
|
goto done;
|
||||||
|
}
|
||||||
|
|
||||||
if (port==0x3C7){//&H3C7, set palette register read index
|
if (port==0x3C7){//&H3C7, set palette register read index
|
||||||
H3C7_palette_register_read_index=data;
|
H3C7_palette_register_read_index=data;
|
||||||
H3C9_read_next=0;
|
H3C9_read_next=0;
|
||||||
|
|
Loading…
Reference in a new issue