VOGONS

Common searches


Search results

Display options

Re: UniPCemu Compaq Deskpro 386 emulation problems?

Strange: it's arriving in my browser(Google Chrome). I've found an error sending the data from the 0x20(Read RAM byte 0) command: the port60tofirstPS2port(sending it back as a reply) is still set(supposed to be cleared). I've modified the code to clear it when using it correctly now. Now testing... …

Re: UniPCemu Compaq Deskpro 386 emulation problems?

I think I've found the problem: It's supposed to set the POST flag in the 8042 status register at checkpoint 78h, but fails for some reason, causing the CMOS value(06h) to be ignored and a full reset to occur(since the POST flag is 0 according to the value read from the register). Now the question: …

Re: UniPCemu Compaq Deskpro 386 emulation problems?

I've copied the first table from http://ryan.servehttp.com/tech/hardware/bios/compaqbios.htm to create the file. That page does not work for me. All I get is a nginx error. Strange: I get: Compaq General BIOS Post Codes 00 Initialize flags, MSW,IDTLIN 01 Read manufacturing jumper 02 8042 received …

Re: UniPCemu Compaq Deskpro 386 emulation problems?

I've added a little functionality to the emulator to support XT/AT/COMPAQ text files in the ROM directory that contain translations of the POST code into a readable description. POSTCODE.COMPAQ.txt This results in the following log(formatted 2 hex digits, followed by a space, followed by the …

Re: UniPCemu Compaq Deskpro 386 emulation problems?

I've just found some little bit of interesting information on the 8042: http://halicery.com/8042/8042_INTERN_TXT.htm It describes the exact clock signalling and functionality of the 8042(how it handles the host reads/writes etc.). It also explains something the osdev article on the 8042 doesn't: The …

Disk size to CHS geometry conversion?

I'm currently always using 16 heads and 63 sectors per track in UniPCemu, with the cylinder count being adjusted to be within range of the hard disk image, when possible, with a minimum of 1 cylinder. Of course, this will fail with disk sizes less than 16 heads and 63 SPT. Is there an official …

Re: UniPCemu crashing on current commit?

I've improved the sending algorithm a bit(splitting special output cases 4 and 5 for sending to the input buffer of the first and second PS/2 devices), as well as reimplementing the "special reed", as documented in the ioports.lst to hide the buffer full bit when reading the buffer full bit(bit 0 of …

Re: UniPCemu crashing on current commit?

I've implemented the 8042 using the input/output buffers to receive and send command/data of the 8042. But for some unknown reason, it now doesn't get past the reset point, or something related, correctly? These are the changes I've made that hang the BIOS it for some reason: https://bitbucket.org/ …

Re: UniPCemu crashing on current commit?

I don't mean the command number or data itself. I mean the way data is transported. So things like Status port input being the same as keyboard, input data method using the same output buffer as the keyboard, sending command data(write to port 0x64) using the same input buffer as the keyboard, while …

Re: UniPCemu crashing on current commit?

Is it correct that even communication with the 8042 itself results in the same input/output behaviour as the first PS/2 device(a.k.a. keyboard)? So bit 1 of the status register shows the transfer to the 8042(completed when emptied), with the same for data sent to the 8042 itself(e.g. new RAM data …

Re: UniPCemu crashing on current commit?

I've modified the reserved memory to be the last 386KB on top of the memory that's detected. So 4MB will result in 386KB more memory. That seems to fix those memory errors. Now I'm getting a 301-Keyboard error? It finds 4480KB of memory. The bug in the bound instruction that doubles the fault …

Re: UniPCemu crashing on current commit?

I've just checked the AT 80286 emulation: it's now working properly again too! So the problem with the CPU resetting was causing the BIU to get out of sync with the EU, causing a complete halt of execution in that case(the BIU having data left in it's buffers from previous operations, causing the EU …

Re: UniPCemu crashing on current commit?

Looking at the POST codes reported, it now hangs with the BIU in a inproper state(having a result of the BUS(I/O) operation to port 0x84(The diagnostic output port). Edit: Having fixed the BIU/EU emulation to wait to the start of the next instruction, which inhibits fetching instructions when …

Re: UniPCemu crashing on current commit?

Looking at the BIU again, I notice that during the first request (the first time it passes checkpoint 09h), it's request and response queue are empty. But when it reaches the second time, the response queue already has a response ready from a previous operation(which, not coincidentally, contains …

Re: UniPCemu crashing on current commit?

After looking and comparing the disassembly, it ends up at F000:0001, which throws itself into an infinite loop? xchg bh,bl ; 00008000 86FB '..' xor bh,bh ; 00008002 32FF '2.' shl bx,1 ; 00008004 D1E3 '..' mov dx,[bx+0x50] ; 00008006 8B975000 '..P.' mov [bp+0x2],dx ; 0000800A 895602 '.V.' mov cx,[ …

Re: UniPCemu crashing on current commit?

So it at least gets to "xf78e: mov al,0x78 ; 0000F78E B078 '.x'", according to http://www.pcjs.org/devices/pcx86/rom/compaq/deskpro386/1988-01-28/1988-01-28.asm . Then it sets the 8042 POST ready flag(reflected in bit 2 of the 8042 command byte(and Status register using that). It then proceeds to …

Re: UniPCemu crashing on current commit?

I've managed to fix the keyboard checks: apparently no 0xFA(acnowledge) is given on the Compaq 8042(it's given on the AT, though) 0xAA self test command. It now passes the keyboard/8042 check and hangs/stops at POST Diagnostic code 09h(according to http://ryan.servehttp.com/tech/hardware/bios/ …

Re: UniPCemu crashing on current commit?

What is your documentation for the Deskpro 386? BOCHS port list? That's correct(as well as the only source of documentation I have, besides the maintenance stuff found with google, which doesn't add anything useful). The ROMs used are converted from the .hex files on the PCjs repository. Is there …

Re: UniPCemu crashing on current commit?

I've added and modified the 8042 to be Compaq-compatible when using the Compaq Deskpro 386 architecture. The command overrides have been added, although the speed commands are largely a mystery, as nothing is explained in the Bochs ioports.lst file? Anyone can explain them? Also, what is the …

Page 150 of 229