Reply 60 of 1046, by SarahWalker
- Rank
- Member
Add it yourself. What makes you think I'm going to do it?
Add it yourself. What makes you think I'm going to do it?
@SarahWalker
This makes me think you're going to add "real" UM85C408AF emulation:
mov ax,50h int 10h ;Set mode to 640x480 high color mode […]
mov ax,50h
int 10h ;Set mode to 640x480 high color modemov dx,003D4h ;CRTC
mov ax,0902Eh ;
out dx,ax ;timing parameters.mov dx,03C6h ;Pixel Mask Register
in al,dx
in al,dx
in al,dx
in al,dx
mov al,0F0h
out dx,almov dx,03D4h ;CRTC
mov ax,0E11h ;Vertical Retrace End
out dx,axmov dx,003C2h ;Miscellaneous Output Register
mov al,0EFh
out dx,almov dx,003D4h ;CRTC
mov ax,02B00h ;Horizontal Total (=12B+5=130)
out dx,ax ;(Total time including blanking)mov ax,0EF01h ;Horizontal Display Enable End
out dx,ax ;Pels/scan = (EF+1)*8/3 = 640mov ax,0F202h ;Start Horizontal Blanking Register
out dx,axmov ax,08C03h ;End Horizontal Blanking
out dx,axmov ax,00504h ;Start Horizontal Retrace Pulse
out dx,axmov ax,0FB05h ;End Horizontal Retrace
out dx,axmov dx,003C4h ;Sequencer
mov ax,08507h ;Enhanced Control Register 2
out dx,ax ;Set DRAM config, enable 16 bit R/W.mov ax,0a008h ;Enhanced Control Register 3
out dx,ax ;Set memory mapping, enable chain-8
;Enable flicker free function.
mov dx,003CEh ;Graphics Controller
mov ax,00809h ;Enhanced Control Register 6
out dx,ax ;Enable chain-8 output mapping.mov dx,3D4h ;Offset register (1920/16)
mov ax,7813h
out dx,ax
Taken from http://driverzone.com/drivers/umc/video/readme.htm.
You have all the information, 5247846, add the support yourself.
SarahWalker obviously has better things to do than write code to suit the whim of one person on a forum.
VogonsDrivers.com | Link | News Thread
This makes me think you're going to add "real" UM85C408AF emulation:
Why would it make you think that?
And what would make you think, after ignoring all your other 'requests', that I'm going to fulfill this one?
@SarahWalker
Nothing, just the emulated ET4000 which doesn't allow me to use more than 256 colors.
Perhaps it doesn't have a 24-bit RAMDAC?
Javier Donoso, is that you?
@Sune Salminen: Yes.
@SarahWalker: Forget about the Diamond SpeedSTAR 24 and UM85C408AF.
I have some bug reports instead: PCem reports more than 1024KB of RAM per MB, and when entering AMI WinBIOS Setup after a soft reset or switching from fullscreen to windowed DOS prompt, the cursor doesn't move.
And the here is only feature request I have for you: a 24-bit RAMDAC for the emulated Tseng Labs ET4000AX. Does this one require a big code rewrite? If so, don't add it until you think it's time to do so.
Have a nice day you two! 😐
How would Allegro handle a second screen? As in secondary display monochrome outputs if that's possible (and more interesting than 64k colors)
It wouldn't, but I could always output to a second window using GDI.
PCem v0.7 is now out. Windows 98 now works, Windows 95 is more stable, OS/2 1.3 now works, more machines and graphics cards are emulated, and there are many other bug fixes.
Unfortunately this is likely to be the last release of PCem.
Congratulations on the release! 🤣 the Shutle HOT-433 and Cyrix 486 support, i bet a certain user inspired that one 😜
Even though it's unintended, the STB Powergraph 64 (S3 Trio64v+) BIOS also works as well....so far.
I noticed I can't see the clock rate of the AM5x86 on the title anymore. Maybe you can throw 100, 120, 133, 150, 160 and even 180 and 200 in for the AM5x86...or maybe I can, though I only have MSVC6 and MinGW/Msys.
Also another funny thing? Soft reset on AM5x86 is also broken in the emulator just like the real thing! 🤣
I also noticed a strange bug. Can't seem to detect the cdrom drive anymore.
Why the last release? Real Live (TM)?
wrote:Congratulations on the release! 🤣 the Shutle HOT-433 and Cyrix 486 support, i bet a certain user inspired that one 😜
Don't worry, they totally didn't.
By coincidence though, the ET4000AX emulation gained a truecolour RAMDAC. I'm pretty certain it isn't the Speedstar RAMDAC though - actually, I'm not at all sure what RAMDAC it is (it's in the code as 'unknown')! It possibly doesn't work anyway.
Even though it's unintended, the STB Powergraph 64 (S3 Trio64v+) BIOS also works as well....so far.
You might want to try renaming that to s3_764.bin, to enable some actual (but buggy) undocumented Trio64 emulation. The Trio64 family selects high/truecolour modes differently to the Vision864.
I noticed I can't see the clock rate of the AM5x86 on the title anymore.
I decided for this release to only include CPUs that I can confirm actually exist, and at stock settings. And with the 'official' names. Therefore the P75 is 133 and P75+ is 150.
Also another funny thing? Soft reset on AM5x86 is also broken in the emulator just like the real thing! 🤣
Actually I think that might be broken for everything... It was a bug I noticed at the last minute, and as this release had a strict time limit I wasn't able to fix it.
I also noticed a strange bug. Can't seem to detect the cdrom drive anymore.
There's a new 'disabled' option in the CD-ROM menu, to completely remove the emulated drive and secondary IDE interface (this is needed for OS/2 v1.3). Is this ticked?
wrote:Why the last release? Real Live (TM)?
New job.
wrote:There's a new 'disabled' option in the CD-ROM menu, to completely remove the emulated drive and secondary IDE interface (this is needed for OS/2 v1.3). Is this ticked?
Nope, not ticked at all. Using my host CD drive. Doesn't detect in Windows 95A or by its startup disk.
Hmm. Seems to be working okay here. Can you post the contents of pcem.cfg?
adlib = 1
gameblaster = 0
fast_disc = 0
model = 19
cpu_manufacturer = 1
cpu = 14
gfxcard = 8
video_speed = 5
sndcard = 6
cpu_speed = 13
has_fpu = 1
slow_video = 1
cache = 0
cga_composite = 0
disc_a = win95b.img
disc_b =
mem_size = 32
cdrom_drive = 73
cdrom_enabled = 1
kb_win = 0
vid_resize = 1
hdc_sectors = 63
hdc_heads = 16
hdc_cylinders = 1023
hdc_fn = hdc.img
hdd_sectors = 63
hdd_heads = 64
hdd_cylinders = 1023
hdd_fn = hdd.img
Still can't reproduce it. Am I right in thinking that your boot disk uses the Oak CD-ROM driver, and that you're using an actual CD-ROM drive and not a virtual drive (not that I think the latter makes any difference)? What version of Windows are you using? Have you, after selecting the CD-ROM settings you're using, tried closing the emulator and re-starting?
It uses OAK yes, not finding MSCD001, and an actual DVD-RW drive is used. Virtual drive doesn't make a difference either.
Host is Windows 7 x64. Guest is Windows 95 A.
Have closed/restarted the emulator.
PCem v0.6's CD-ROM support still works.
Just uploaded a new binary that should fix the CD-ROM problems.