From 1b263c688eff9e33ea61df37759a9d9209777f29 Mon Sep 17 00:00:00 2001 From: angelosa Date: Fri, 13 Jan 2023 23:12:48 +0100 Subject: bus/isa/s3virge.cpp: add Sn ROP for Windows 98 invert colors in Magnifier New working software list items ------------------------------- ibm5170_cdrom.xml: The Adventures of Down Under Dan [archive.org] --- hash/ibm5170_cdrom.xml | 13 +++++++++++++ src/devices/bus/isa/s3virge.cpp | 6 ++++++ 2 files changed, 19 insertions(+) diff --git a/hash/ibm5170_cdrom.xml b/hash/ibm5170_cdrom.xml index 14b86b36834..3aececbaa95 100644 --- a/hash/ibm5170_cdrom.xml +++ b/hash/ibm5170_cdrom.xml @@ -315,6 +315,19 @@ CD-ROM includes: "Boxing", "Chopper Command", "Cosmic Commuter", "Crackpots", "F + + The Adventures of Down Under Dan (v1.1) + 1995 + Guildsoft Games + + + + + + + + + diff --git a/src/devices/bus/isa/s3virge.cpp b/src/devices/bus/isa/s3virge.cpp index fddf1766b14..4140f09df10 100644 --- a/src/devices/bus/isa/s3virge.cpp +++ b/src/devices/bus/isa/s3virge.cpp @@ -29,7 +29,10 @@ #include "screen.h" +//#include + #define VERBOSE (LOG_REG | LOG_CMD | LOG_MMIO) +//#define LOG_OUTPUT_STREAM std::cout #include "logmacro.h" @@ -1062,6 +1065,9 @@ uint32_t s3virge_vga_device::GetROP(uint8_t rop, uint32_t src, uint32_t dst, uin case 0x22: // DSna ret = (dst & (~src)); break; + case 0x33: // Sn + ret = ~src; + break; case 0x55: // Dn ret = ~dst; break; -- cgit v1.2.3