1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-05 07:40:24 +00:00

Emulates port &H3C0 to disable/enable blinking using OUT.

Again, thanks to _vince for contributing this bit.
This commit is contained in:
FellippeHeitor 2017-08-16 00:24:33 -03:00
parent 2c153b3db0
commit de75b0aa29

View file

@ -14251,6 +14251,11 @@ void sub_out(int32 port,int32 data){
port=port&65535;
data=data&255;
if (port==0x3C0) {
H3C0_blink_enable = data&(1<<3);
goto done;
}
if (port==0x3C7){//&H3C7, set palette register read index
H3C7_palette_register_read_index=data;
H3C9_read_next=0;