From 6347b4c83a0121eda4e9ebd7944a4e78989c034c Mon Sep 17 00:00:00 2001 From: Zellyn Hunter Date: Sun, 2 Apr 2017 21:34:02 -0400 Subject: [PATCH] video: check for 80-col LORES with AN3 on See https://github.com/OpenEmulatorProject/libemulation/issues/24 --- audit/audit.dsk | Bin 143360 -> 143360 bytes audit/video.asm | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/audit/audit.dsk b/audit/audit.dsk index e6c9adeab4859e14f72dc0481b1952db5222be2a..e93ea70771d9cad07572e751c88f610e1b901879 100644 GIT binary patch delta 2147 zcmZ`(Z%h+s7{8;oRCEjz*$^2!MaQ3lkZf^e$uhHaaUZ%5TcVr84`!c?I&-}0vJXqz zxzv%$Eso2U_+k2rFgW0_rDP(E*lT-*3%x(~u2Pnn@MVd~GSZkV#+m4z_YNqUt!=LF z`#itrd4JFEdEN^xdqd0KOJ9|737+0|zK=dw*~K#9)7(*3d0OmbK8+uue|Obkq-=`1 znfJn-$C&Q0@Ke|$oCuc--tZ%_KmLK+@1gtSeOs>6bU(lU1+A>&4DYFID4%4-^9d32 z9hHao_9Nzx6N1E1o0zvlVn3>KGw+9rTa^Qs+{}leqKi2a0_14r8}v1Px$-5Ni9f8| zytT$1_avy>Zi=FQ_RaPrgjjgLa4P(!(6@7M`G8RzELS+bb?2`&-9ks;T=#fwLaa+v z2tBPe364&9xkG(*uQ#7Xwhf9CV>}4Zloz+$I*Tq-RFCoSc+?d@NH_q&fiwKk zx@NkIzfkvC@CGVYhdr2@jiNiA;>!K|vp10O=)PfgGOs?l`iun zk-Lt*8$`WBsOj<85K5Fq>G|GkC_x();xIDYLJ$BD(@~?ii`x}Xu}axwxB?!exQx>_ zc_GC0BavEG1!Nql5h+6*K}MBGS?VY`6G7qDKrR0!Ft3EbR!qw6lX; zfNT;)6!wVYeBzZx`dnXq%Uge6q^NuMKv|0Ne$hKJGBZP#Wff1KieD$-cbw~DkHZ|S zbg_nOMOX`-Tt2m?Qb2z6jn%JD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B6k*8Sk`)UCl{!B=&}Cr*)Vb(oU#Oots5zvF8-xSNL0 z`x>6#4T#%Q*yD?E#&;N+`ODYd26IeNy;ajpX++oU*0(OiOy$|?h?Dha%g`a2a?+m*mF>j~~&>&Q(Cp5#-lPip->l)G0 z`IKtu8H2>tENyc;^J0!BCG2O&n`S0!ZEcaR$DiKxxb#JBS|Dk}N^07f=wuK)l5 diff --git a/audit/video.asm b/audit/video.asm index 5ff9395..eee815e 100644 --- a/audit/video.asm +++ b/audit/video.asm @@ -426,6 +426,29 @@ foo !text "FOOBAR",$8D,$0 +stringed !byte $77, $77, $ee, $ee, $77, $dd, $ee, $bb, .md_80col | .md_an3off, .md_hires | .md_80col | .md_an3off + ;; Tests that LORES stays the same in 80COL mode if AN3 is on. + ;; OpenEmulator bug: https://github.com/OpenEmulatorProject/libemulation/issues/24 + + +string + !text "LIGHT BROWN:LORES VS 80-COL+AN3 ON.",$8D,$8D + !text "SHOULD STAY IN 40-COL GRAPHICS MODE AND",$8D + !text "*NOT* SHOW BLACK VERTICAL STRIPES OF",$8D + !text "80-COL AUXMEM." + +stringed + !byte 0, 0, $dd, $dd, $0, $0, $0, $0, 0, .md_80col + + +string + !text "LIGHT MAGENTA:LORES VS 80-COL+AN3 ON,",$8D + !text "MIXED GRAPHICS AND TEXT",$8D + !text "GRAPHICS PART SHOULD STAY IN 40-COL",$8D + !text "GRAPHICS MODE AND *NOT* SHOW VERTICAL",$8D + !text "STRIPES OF 80-COL AUXMEM.",$8D,$8D + !text "BOTTOM FOUR ROWS SHOULD START OUT AS",$8D + !text "SEMI-COLONS (;;;) AND SWITCH TO 80-COL",$8D + !text "ASTERISKS AND SEMI-COLONS (*;*;*;)" + +stringed + !byte $aa, $aa, $bb, $bb, $0, $0, $0, $0, .md_mixed, .md_mixed | .md_80col + !byte $ff, $ff } ;video