B-Em

want to talk about MESS/model b/beebem/b-em/electrem/elkulator? do it here!
Coeus
Posts: 1381
Joined: Mon Jul 25, 2016 11:05 am
Contact:

Re: B-Em

Post by Coeus » Sun Nov 04, 2018 10:27 pm

bakoulis wrote:
Sun Nov 04, 2018 11:14 am
One more little thing.
In contrast to SSD/DSD files, the MMB file ejects every reset.
I just refer it.
Try the latest commit which has it saved to the config file.

User avatar
bakoulis
Posts: 319
Joined: Wed Feb 08, 2012 9:45 pm
Location: Athens, Greece
Contact:

Re: B-Em

Post by bakoulis » Mon Nov 05, 2018 3:37 pm

Now MMB survive to reset, but only if don't loaded any game.
If a game loaded, after reset, in some cases the mmb ejects and in some other cases not loading the main menu, but a disc menu from the STH collection discs!
2xElectron, 3xBBC B, BBC Master.
2xAcorn A310, A420/1, 2xA3000, 2xA3010, A3020, A4000, A5000.
2xRISC PC, Acorn Pocket Book, Acorn Pocket Book II.

Coeus
Posts: 1381
Joined: Mon Jul 25, 2016 11:05 am
Contact:

Re: B-Em

Post by Coeus » Mon Nov 05, 2018 9:29 pm

bakoulis wrote:
Mon Nov 05, 2018 3:37 pm
Now MMB survive to reset, but only if don't loaded any game.
If a game loaded, after reset, in some cases the mmb ejects and in some other cases not loading the main menu, but a disc menu from the STH collection discs!
I think what is happenning here is that B-Em is remembering which virtual disc (SSD) from the MMB file is loaded in which drive even across Break and maybe typical MMC/SD filing systems don't. I'll have to read up on this. In the meantime, if you type

Code: Select all

*DIN 0
and then do Shift-Break it should re-load the menu.

User avatar
bakoulis
Posts: 319
Joined: Wed Feb 08, 2012 9:45 pm
Location: Athens, Greece
Contact:

Re: B-Em

Post by bakoulis » Mon Nov 05, 2018 10:26 pm

Coeus wrote:
Mon Nov 05, 2018 9:29 pm
bakoulis wrote:
Mon Nov 05, 2018 3:37 pm
Now MMB survive to reset, but only if don't loaded any game.
If a game loaded, after reset, in some cases the mmb ejects and in some other cases not loading the main menu, but a disc menu from the STH collection discs!
I think what is happenning here is that B-Em is remembering which virtual disc (SSD) from the MMB file is loaded in which drive even across Break and maybe typical MMC/SD filing systems don't. I'll have to read up on this. In the meantime, if you type

Code: Select all

*DIN 0
and then do Shift-Break it should re-load the menu.
Yes! You have right. In both cases the *DIN 0 resolve the problem. So, the mmb isn't really ejected if we don't eject it from b-em menu!
2xElectron, 3xBBC B, BBC Master.
2xAcorn A310, A420/1, 2xA3000, 2xA3010, A3020, A4000, A5000.
2xRISC PC, Acorn Pocket Book, Acorn Pocket Book II.

Coeus
Posts: 1381
Joined: Mon Jul 25, 2016 11:05 am
Contact:

Re: B-Em

Post by Coeus » Tue Nov 06, 2018 11:10 pm

bakoulis wrote:
Mon Nov 05, 2018 10:26 pm
Yes, you have right. In both cases the *DIN 0 resolve the problem. So, the mmb isn't really ejected if we don't eject it from b-em menu!
I have just pushed a commit that resets the selected disc to zero (equivalent of *DIN 0) on Ctrl-Break (but not on plain Break). This matches what I believe MMFS does on a real machine.

User avatar
bakoulis
Posts: 319
Joined: Wed Feb 08, 2012 9:45 pm
Location: Athens, Greece
Contact:

Re: B-Em

Post by bakoulis » Wed Nov 07, 2018 12:01 pm

Coeus wrote:
Tue Nov 06, 2018 11:10 pm
bakoulis wrote:
Mon Nov 05, 2018 10:26 pm
Yes, you have right. In both cases the *DIN 0 resolve the problem. So, the mmb isn't really ejected if we don't eject it from b-em menu!
I have just pushed a commit that resets the selected disc to zero (equivalent of *DIN 0) on Ctrl-Break (but not on plain Break). This matches what I believe MMFS does on a real machine.
Thank you very much. Now, I believe this branch is ready to merge with master branch.
2xElectron, 3xBBC B, BBC Master.
2xAcorn A310, A420/1, 2xA3000, 2xA3010, A3020, A4000, A5000.
2xRISC PC, Acorn Pocket Book, Acorn Pocket Book II.

Coeus
Posts: 1381
Joined: Mon Jul 25, 2016 11:05 am
Contact:

Re: B-Em

Post by Coeus » Sun Dec 30, 2018 11:10 pm

Just in case it would otherwise be lost, because it is a bit of tangent to the other thread where I posted it, there are two new enhancements to the B-Em debugger - the ability to read commands from a file and the ability to paste characters as keyboard input (i.e. the same as "Edit->Paste via Keyboard" from the menu.

The details are at: viewtopic.php?f=4&t=16252#p223863

Post Reply