MAME: How to ... ?

discuss bbc micro and electron emulators (including mame) here!
User avatar
dominicbeesley
Posts: 2210
Joined: Tue Apr 30, 2013 12:16 pm
Contact:

Re: MAME: How to ... ?

Post by dominicbeesley »

Thanks Nigel,

Here's the one I'm using (possibly not the current canonical one but I want to stick with this version for comparison with existing dumps).

Thanks for looking at this - good to have a Ninja emulator writer on call!

D
Attachments
ClockSp.zip
(1.43 KiB) Downloaded 77 times
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: MAME: How to ... ?

Post by Pernod »

dominicbeesley wrote: Sat Nov 28, 2020 12:33 pm Here's the one I'm using (possibly not the current canonical one but I want to stick with this version for comparison with existing dumps).
How does this look?
0019.png
I really need to re-implement the ULA as a separate device, used by both Electron and Communicator. I did a lot of work on the Electron a couple of years ago which never got back ported to the Communicator.
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
User avatar
dominicbeesley
Posts: 2210
Joined: Tue Apr 30, 2013 12:16 pm
Contact:

Re: MAME: How to ... ?

Post by dominicbeesley »

That looks perfect, thanks Nigel. I'm writing up a 65816 BASIC thread now, I'll include this for comparison....looks like Communicator BASIC is pretty slow!
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: MAME: How to ... ?

Post by Pernod »

dominicbeesley wrote: Sat Nov 28, 2020 3:19 pm That looks perfect, thanks Nigel. I'm writing up a 65816 BASIC thread now, I'll include this for comparison....looks like Communicator BASIC is pretty slow!
Presume you know that MAME also supports the ReCo6502 with a 65816, configurable between 3.15MHz and 14.7MHz?
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
User avatar
dominicbeesley
Posts: 2210
Joined: Tue Apr 30, 2013 12:16 pm
Contact:

Re: MAME: How to ... ?

Post by dominicbeesley »

No I didn't. I'll try and get a look at that. Thanks

I made my own 816 tube board a few years ago maybe one day I'll try porting that to MAME to get my eye in

D
Deleted User 13004

Re: MAME: How to ... ?

Post by Deleted User 13004 »

Hello!

Newbie first post ...

I've recently started using mame to emulate a Master 128 (bbcm) and was wondering if it's possible to put 2 ROMs into one cartridge on the command line, as I believe was possible on the original hardware?

Thanks
James
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: MAME: How to ... ?

Post by Pernod »

james wrote: Wed Mar 03, 2021 6:35 pm I've recently started using mame to emulate a Master 128 (bbcm) and was wondering if it's possible to put 2 ROMs into one cartridge on the command line, as I believe was possible on the original hardware?
The command line options -cart1 -cart2 will only accept a single file. It should accept a 32K file if you concatenate them.

Multiple ROMs in a single cartridge need to be defined in hash/bbcm_cart.xml, see https://github.com/mamedev/mame/blob/ma ... m_cart.xml, so that MAME knows what's actually in the cartridge.
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
Deleted User 13004

Re: MAME: How to ... ?

Post by Deleted User 13004 »

The command line options -cart1 -cart2 will only accept a single file. It should accept a 32K file if you concatenate them.
It did - thank you!
thebabycub
Posts: 8
Joined: Wed Mar 03, 2021 7:50 pm
Contact:

Re: MAME: How to ... ?

Post by thebabycub »

Hi Pernod.

Newbie here to the forums but long time lurker.

Am I right in thinking you are involved with the MAME project for BBC matters?

I noticed that in MAME 0.229 theres a bbc rom file appeared called bbc_tube_16032.zip I believe this might be a misnamed file resulting from a typo and is really an update to bbc_tube_32016?

If you aren't the correct person to talk to would you know where in the MAME project I should direct this?

Thanks.
- Andy
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: MAME: How to ... ?

Post by Pernod »

thebabycub wrote: Wed Mar 17, 2021 9:19 am I noticed that in MAME 0.229 theres a bbc rom file appeared called bbc_tube_16032.zip I believe this might be a misnamed file resulting from a typo and is really an update to bbc_tube_32016?
Yep, you got the right person.

It is not a typo, in 0.229 a new 16032 tube device was added, basically an earlier version of the 32016 but running at 8MHz instead of 6MHz. It requires earlier versions of the ROMs that actually report 16032.
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
thebabycub
Posts: 8
Joined: Wed Mar 03, 2021 7:50 pm
Contact:

Re: MAME: How to ... ?

Post by thebabycub »

Thanks for your reply.

Always nice to see new co-processors be added. I've never come across this one on my internet BBC travels.
- Andy
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: MAME: How to ... ?

Post by Pernod »

thebabycub wrote: Wed Mar 17, 2021 12:49 pm Always nice to see new co-processors be added. I've never come across this one on my internet BBC travels.
There's one currently for sale at https://www.ebay.co.uk/itm/rare-16032-s ... 890.l49292 If anyone here buys it then I'd be interested in seeing which ROMS are installed.
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
thebabycub
Posts: 8
Joined: Wed Mar 03, 2021 7:50 pm
Contact:

Re: MAME: How to ... ?

Post by thebabycub »

I've been playing in b-em with it's 6809 emulation and see cms6809 is in the mame roms. Is it useable yet? I havent been able to find any model that shows it inthe tube options.
- Andy
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: MAME: How to ... ?

Post by Pernod »

thebabycub wrote: Thu Mar 18, 2021 11:26 am I've been playing in b-em with it's 6809 emulation and see cms6809 is in the mame roms. Is it useable yet? I havent been able to find any model that shows it inthe tube options.
It should be fully working in 0.229 and available to select from bbcb. There's some floppy images to use with it at viewtopic.php?f=7&t=13539, you'll need to convert the images from HFE to IMD to use them.
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
thebabycub
Posts: 8
Joined: Wed Mar 03, 2021 7:50 pm
Contact:

Re: MAME: How to ... ?

Post by thebabycub »

Aha! I have just found that the official mame0229b_64bit.exe download is missing mame64.exe and mame64.sym.

As I always run the 64bit binary, even latter after installing the 0.229 update I was still running 0.228.

I had a go at converting the HFE discs using the HFE FloppyEmulator software but mame did not like the IMD produced.
- Andy
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: MAME: How to ... ?

Post by Pernod »

thebabycub wrote: Thu Mar 18, 2021 3:00 pm Aha! I have just found that the official mame0229b_64bit.exe download is missing mame64.exe and mame64.sym.

As I always run the 64bit binary, even latter after installing the 0.229 update I was still running 0.228.

I had a go at converting the HFE discs using the HFE FloppyEmulator software but mame did not like the IMD produced.
The 64bit binary is now mame.exe, the 64 suffix has been dropped, it's mentioned in the release notes.

Don't remember having any trouble with IMD, it was DIASFLEX that I converted.
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
thebabycub
Posts: 8
Joined: Wed Mar 03, 2021 7:50 pm
Contact:

Re: MAME: How to ... ?

Post by thebabycub »

Woops, didn't read that!

Mounting the HFE directly in MAME works!
- Andy
Deleted User 13004

Re: MAME: How to ... ?

Post by Deleted User 13004 »

Hello! I'm have a disc/file problem with mame, which I start up with:

Code: Select all

./mame64 bbcm -window -flop1 search.ssd
The DFS disc image has a BASIC program and a datafile. If I LOAD"BASPROG" and then SAVE"BASPRG2" all appears OK.

*VERIFY0 is happy, *CAT and *EX show the files I expect.

However, when I exit and restart MAME, BASIC tells me BASPRG2 is a "Bad program" when I LOAD it, and *DUMP BASPRG2 shows a file of FFs. Though *. and *INFO show the file is apparently there and *VERIFY is still happy.

There's plenty of free space on the disc image. Indeed, I can just save: 10 REM TEST and the same corruption happens.

Any thoughts as to what I'm doing wrong?

Thanks
James
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: MAME: How to ... ?

Post by Pernod »

james wrote: Sun Apr 11, 2021 4:37 pm However, when I exit and restart MAME, BASIC tells me BASPRG2 is a "Bad program" when I LOAD it, and *DUMP BASPRG2 shows a file of FFs. Though *. and *INFO show the file is apparently there and *VERIFY is still happy.
This has been reported before, but I've not been able to determine the cause.

I believe the issue is somewhere in the floppy sub-system, which I generally don't touch, and not something specific to the BBC emulation. There were some recent updates to this so can you confirm there are still issues in the 0.230 release?

The actual floppy image is only saved when the disc is unmounted, which is why you see the issue after restarting MAME, or if you unmount and remount the same image. Have you also tried ADF's or is the issue with SSD's only?
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
Deleted User 13004

Re: MAME: How to ... ?

Post by Deleted User 13004 »

Sadly, 0.230 seems to be still broken.
User avatar
vanekp
Posts: 1413
Joined: Thu Nov 30, 2000 7:09 am
Location: The Netherlands
Contact:

Re: MAME: How to ... ?

Post by vanekp »

I am sure MAME has been broken for a very long time with writing to disc's.
Regards Peter.
User avatar
MarkMoxon
Posts: 606
Joined: Thu Jul 18, 2019 4:38 pm
Contact:

Re: MAME: How to ... ?

Post by MarkMoxon »

Hi Pernod.

Apologies in advance if this is me doing something wrong... but does the BBC Micro version of Elite run properly on MAME? I'm having problems getting it working - it looks like this for me:

MAME_Elite.jpg

I'm running the latest version of MAME (0.231), I've deployed the BBC ROMs from here, and tried loading various versions of Elite (such as this one from bbcmicro.co.uk, for example), but the screen is corrupted in the same way in all of them. The game is actually running and responds to key presses, but the screen is clearly not happy.

Is this a known problem? It's happening even if I start mame with:

Code: Select all

mame bbcb
so I'm not sure how much simpler I can make it! I've tried a handful of other Beeb games and they all seem OK, but Elite is definitely not happy.

Any idea what I'm doing wrong? Or is Elite on MAME a known problem?

Mark
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: MAME: How to ... ?

Post by Pernod »

MarkMoxon wrote: Sun May 02, 2021 2:20 pm Hi Pernod.

Apologies in advance if this is me doing something wrong... but does the BBC Micro version of Elite run properly on MAME? I'm having problems getting it working - it looks like this for me:
No, the 6845 emulation and video handling in general need a serious re-write to get this working. Many other games are affected too, especially anything by Tricky.
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
User avatar
MarkMoxon
Posts: 606
Joined: Thu Jul 18, 2019 4:38 pm
Contact:

Re: MAME: How to ... ?

Post by MarkMoxon »

Pernod wrote: Sun May 02, 2021 2:24 pm
MarkMoxon wrote: Sun May 02, 2021 2:20 pm Hi Pernod.

Apologies in advance if this is me doing something wrong... but does the BBC Micro version of Elite run properly on MAME? I'm having problems getting it working - it looks like this for me:
No, the 6845 emulation and video handling in general need a serious re-write to get this working. Many other games are affected too, especially anything by Tricky.
Ah! Fair enough. Thanks for the speedy response, much appreciated.

Mark
User avatar
ChrisB
Posts: 547
Joined: Wed Oct 05, 2011 10:37 pm
Location: Surrey
Contact:

Re: MAME: How to ... ?

Post by ChrisB »

I'm trying to get the AP6 expansion running but I seem to be missing a file

Code: Select all

mame electron -exp ap6 -window
ap6v133t.rom NOT FOUND (tried in electron_ap6 electron)
I have the ROM package from Arcadian and can start with other electron configurations. Can someone please point me at the right file and where to put it within MAME?
Castle Defender, Untitled Dungeon Game, Night Ninja, Wordle, Waffle, Acorn Island, Beebchase, Ghostbusters
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: MAME: How to ... ?

Post by Pernod »

ChrisB wrote: Fri Jul 23, 2021 7:19 am I'm trying to get the AP6 expansion running but I seem to be missing a file

Code: Select all

mame electron -exp ap6 -window
ap6v133t.rom NOT FOUND (tried in electron_ap6 electron)
I have the ROM package from Arcadian and can start with other electron configurations. Can someone please point me at the right file and where to put it within MAME?
The ROM package needs an update, here's what you need. Just place in your mame/roms folder.
Attachments
electron_ap6.zip
(16.65 KiB) Downloaded 55 times
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
johnpg
Posts: 10
Joined: Wed Oct 24, 2018 9:42 am
Contact:

Re: MAME: How to ... ?

Post by johnpg »

Hi,

Thank you all for the extremely useful information regarding how to run MAME. I have been using MAME for a few months with no problems but having recently updated to the most recent version, released a week ago, 0.236, I seem to be getting the following error message when trying to run a BBC B game, downloaded from bbcmicro.co.uk:
Fatal error: Device 5.25" quad density floppy drive load failed: Incompatible image format or corrupted data
The command line I am using is:

Code: Select all

mame.exe bbcb -flop1 Disc002-Arcadians.ssd
I seem to be getting a similar error message for every SSD game I try. I have gone back to version 0.235 of MAME and I don't seem to be getting the error so I am wondering if something has changed in MAME in version 0.236? Any thoughts would be appreciated.

Many thanks in advance,

John.
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: MAME: How to ... ?

Post by Pernod »

johnpg wrote: Fri Oct 08, 2021 2:17 pm I seem to be getting a similar error message for every SSD game I try. I have gone back to version 0.235 of MAME and I don't seem to be getting the error so I am wondering if something has changed in MAME in version 0.236? Any thoughts would be appreciated.
Well that's annoying, someone else recently refactored file handling and seems to have broken floppy loading. I'll have to investigate.
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
johnpg
Posts: 10
Joined: Wed Oct 24, 2018 9:42 am
Contact:

Re: MAME: How to ... ?

Post by johnpg »

Hi Nigel,

Many thanks for your quick reply. Yes that does sound annoying, hopefully your investigations don't reveal too much work involved. Thank you also for all the hard work you have put into the Acorn elements of MAME, it is very much appreciated.

John.
Tomkun
Posts: 17
Joined: Wed Oct 13, 2021 9:03 am
Contact:

Re: MAME: How to ... ?

Post by Tomkun »

Hello

In Elkulator it is possible to load both DFS and ADFS disks and switch modes by typing *DISK.

Is it possible to get this same functionality in MAME? When I use the software lists for the Electron, a great many disks will not load with the default settings, I think because they are DFS. When I type *DISK in MAME, I get a "no directory" error.

I assume that this is a BIOS issue? I read in another thread that there is a BIOS for the plus3 that can use both ADFS and DFS, but what is it and can it be used in MAME? Is that how it is done in Elkulator?

Sorry for so many questions!

Tom
Post Reply

Return to “8-bit acorn emulators”