08 August 2018, 15:31 | #1 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,567
|
x86 Bridgeboard update (PCem core)
New bridgeboard thread. (old thread: http://eab.abime.net/showthread.php?t=76395)
Bridgeboard emulation now uses following PCem "parts": - CPU - Interrupt controller (PIC) - Timer (PIT) - DMA controller - NVRAM (286+) - Memory and IO mapping. - PC Speaker (enable option in Bridgeboard expansion GUI) - Sound Blaster (Multiple variants, Expansion GUI, see below) Previously emulated hardware still supported: - VGA. - XTIDE. - NE2000. - Floppy controller. (may be replaced with PCem version later) Notes: - FPU is not available (it looks like PCem only supports it if 486+?) - A2386SX probably still isn't any more compatible because VLSI chipset used is not yet emulated in PCem. - Speed is slower than previously, most likely because previously it was far too fast. Speed adjustment will be added later. - Sound Blaster is totally untested, PC Speaker confirmed to make sound.. Because all supported SB models are in single expansion panel hardware option, not all options are specific to selected SB model. You MUST know how to configure SB. Do not expect GUI defaults are valid! - Because IO/memory mapping is more flexible in PCem, bridgeboard IO mapping is now fully dynamic which may fix some previously weirdly working PCPrefs bridgeboard configurations. - Do not skip directly to SB and assume everything else still works! Make sure previously installed disks/HDs still work. PC Speaker must be tested first! It must be done step by step! EDIT: - Do not click Restart or load new config on the fly! Always quit and restart whole emulator! - TODO: A2386SX shadow/ems mapping register support should be relatively easy to implement with PCem RAM mapping system. EDIT2: - A2386SX shadow/ems mapping implemented (mostly) - SB16 MPU-401 interface added from PCem (maps to IO Ports panel selected MIDI out port) EDIT3: - RTC date sync - CPU panel speed adjustment works now (except Max which probably can't work with PCem, it would break CPU/timer sync) EDIT4: - PC Speaker and Sound Blaster working. - PC Serial mouse emulated, currently hardwired to selected Amiga mouse. When using VGA board, remember to configure it to use Monitor 2 (RTG panel). No need for annoying END+F9 swapping. WARNING: This is not PC/DOS/SB (configuration) help thread! You must know how to configure IO ports, IRQ etc! http://www.winuae.net/files/b/winuae.7z Last edited by Toni Wilen; 12 August 2018 at 20:35. |
08 August 2018, 17:57 | #2 |
Registered User
Join Date: Jun 2015
Location: San Francisco, USA
Posts: 169
|
Wow thanks Toni! Will test thoroughly and methodically and get back to you with results. BTW today is my birthday, can't think of a better bday present than to try out this stuff
|
08 August 2018, 23:38 | #3 |
Registered User
Join Date: Jun 2015
Location: San Francisco, USA
Posts: 169
|
Well on first inspection there seems to be a problem with the config file generation, because when I tried to use the WinUAE GUI to generate a brand new config with bridgeboard from scratch, I got the "Couldn't Find Library" error when trying to open a PC Window. When I used a config file generated by the latest stable version of WinUAE, the BridgeBoard behaved as expected. But when I changed that config to enable PC Speaker support, saved the config, and then booted the emulator, I again got the "Couldn't Find Library" error. Seems that the GUI is doing something to the config file that makes the BridgeBoard unrecognized? If you want I can try to create a working config with stable and a broken config file with beta and then diff them
|
08 August 2018, 23:38 | #4 |
Amiga Lover
Join Date: Jan 2010
Location: Stockholm / Sweden
Age: 46
Posts: 612
|
Ohh my god this will be fun to test =)
Thank you Toni! |
09 August 2018, 08:12 | #5 |
Registered User
Join Date: Jun 2015
Location: San Francisco, USA
Posts: 169
|
Ok never mind my last post about the config file. I was making a dumb mistake that caused the library error. However, I am running into issues with the BridgeBoard not coming up when then PC Speaker is enabled. I need to do more testing to describe exactly what's going on. Will be back in a bit...
|
09 August 2018, 08:55 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,567
|
More details? Freezes completely? Amiga side binddrivers call never returns but mouse still moves? VGA screen opened?
Probably sound emulation related, try switching off sound automatic switch (if enabled). (Still implementing A2386SX memory mapping stuff. himem.sys and EMS386 probably should work when done) |
09 August 2018, 09:14 | #7 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
|
Toni link does not work: http://www.winuae.net/files/b/winuae.7z
|
09 August 2018, 09:59 | #8 | |
Global Moderator
|
Quote:
So, you'll have to wait either until it is fixed or until someone uploads the archive to the zone. |
|
09 August 2018, 11:56 | #9 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,567
|
Site works again. A2386SX shadowing/ems should at least in theory work now (another not really tested because I don't want to touch dos too much..)
EDIT: At least dos 6.22 himem.sys does not hang anymore. Last edited by Toni Wilen; 09 August 2018 at 12:39. |
09 August 2018, 14:13 | #10 | |
Registered User
Join Date: Dec 2012
Location: Germany
Posts: 561
|
Quote:
Very nice, Toni. Sound Blaster support?! As soon as I'm back from vacation I will test it. |
|
09 August 2018, 17:03 | #11 |
Registered User
Join Date: Jun 2015
Location: San Francisco, USA
Posts: 169
|
Okay simplest test case comparison. Two configs, only difference is working has PC speaker disabled, broken has PC speaker enabled.
Working case, I boot with BB Install floppy v2.0 (Known Verified Dump [!] downloaded from Internet Archive TOSEC) and it boots, I open PC Mono, PC window opens as expected. Broken case, I boot same floppy, long pause right after x86 in status bar switches from STOP to RUN (this is exactly when BindDrivers is trying to load janus.library because date displays immediately after long pause, and setclock is first command following BindDrivers in startup-sequence), after long pause continues to boot to WB screen. Then when I open PC Mono, I get Cannot Find Library error. By "sound automatic switch" you mean "Automatic Switching" in sound config panel? Switching that off doesn't affect outcome of this test. Last edited by superfrog; 09 August 2018 at 17:16. |
09 August 2018, 17:36 | #12 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,567
|
Quick workaround: add Z2 Fast RAM (or any autoconfig board that is before Bridgeboard). Sound reset forgets that stream has been allocated and if there is no other boards, bridgeboard initializes before sound.
Correct fix comes later.. |
09 August 2018, 19:05 | #13 |
Registered User
Join Date: Jun 2015
Location: San Francisco, USA
Posts: 169
|
Okay adding a Z2 autoconfig board before BridgeBoard fixes janus library init problem. I added Z2 fast RAM and also used custom ordering to move the A2091 SCSI controller above the A2088 in my test environment that includes HD. PC window opens and DOS boots. However, I still get no sound output from the speaker. Simplest test, just type "echo ^G" at DOS prompt, or start GWBASIC and print "^G". I hear no beeps.
|
09 August 2018, 19:14 | #14 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,567
|
Quote:
|
|
09 August 2018, 19:37 | #15 |
Registered User
Join Date: Jun 2015
Location: San Francisco, USA
Posts: 169
|
Did you post a new binary? The link above still gives me the public beta from yesterday, nothing has changed.
I haven't even tried testing AT BridgeBoards yet. I'll do some testing with the AT boards and let you know what I find. Last edited by superfrog; 09 August 2018 at 19:49. |
09 August 2018, 19:38 | #16 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,567
|
You got cached copy. It happens regularly. Use another browser etc.. I have no control of this.
|
09 August 2018, 21:25 | #17 |
Registered User
Join Date: Jun 2015
Location: San Francisco, USA
Posts: 169
|
|
09 August 2018, 23:20 | #18 |
Registered User
Join Date: Jun 2015
Location: San Francisco, USA
Posts: 169
|
With the new beta, I still get lockup and failure to load janus.library on boot without another Z2 before BB. With extra Z2, I can boot the BB startup disk, open PC Mono window, boot DOS 3.3 floppy and get a DOS prompt. When I type "echo ^G" I do get a beep, but I also get a little click sound with every keystroke. Also, it makes a strange bleeping noise on bootup. Not sure if that was normal behavior with real BB.
|
10 August 2018, 00:15 | #19 |
Registered User
Join Date: Jun 2015
Location: San Francisco, USA
Posts: 169
|
When I try to boot up with same config, but with A2286 instead, it just crash dumps shortly after booting the BB Install floppy. Crash happens with speaker enabled or not. I've attached 2 config files and the crash dump file.
|
10 August 2018, 00:17 | #20 |
Registered User
Join Date: Jun 2015
Location: San Francisco, USA
Posts: 169
|
What test environment/config did you use for testing PC speaker Toni? I figured using A2088/A2286 with just BB Install floppy and a DOS boot floppy and testing the bell would be the absolute simplest test case scenario.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
x86 Bridgeboard PC Speaker/SoundBlaster support? | superfrog | request.UAE Wishlist | 30 | 09 August 2018 18:16 |
What is "x86 Bridgeboard VGA", and how does it work? | Narf the Mouse | support.WinUAE | 7 | 22 January 2018 14:17 |
Indivision ECS core update 1.15 | wmaciv | Amiga scene | 8 | 02 May 2017 19:30 |
Bridgeboard emulation (x86 CPU, for example A2286) | GiuseppeC | support.WinUAE | 627 | 16 November 2016 15:42 |
Minimig firmware/core update | Spellcoder | News | 1 | 27 April 2008 23:02 |
|
|