Updated - BBC Micro .MMB

discussion of beeb/electron applications, languages, utils and educational s/w
User avatar
sweh
Posts: 1847
Joined: Sat Mar 10, 2012 12:05 pm
Location: New York, New York
Contact:

Re: Updated - BBC Micro .MMB

Postby sweh » Fri Mar 03, 2017 11:02 pm

sydney wrote:I'd quite like to see the Mick Brown collection in an mmb file.

Because Mick has been pretty consistent with his menu's on each disk (I used this in https://github.com/sweharris/split_md_dsd to split the games out) it'd be quite easy to build a master menu list of game title, disk number, program to run.

All we'd need is a good menu program to display them; I don't really like the one on STH disk, but maybe that's just me :-)
Rgds
Stephen

User avatar
lurkio
Posts: 1284
Joined: Tue Apr 09, 2013 11:30 pm
Location: Doomawangara
Contact:

Re: Updated - BBC Micro .MMB

Postby lurkio » Fri Mar 03, 2017 11:10 pm

sweh wrote:Mick has been pretty consistent with his menu's on each disk (I used this in https://github.com/sweharris/split_md_dsd to split the games out)

Btw, you've reminded me that Lee and I recently realised that because the splitter script assumes that each game will fit onto a single .SSD, it won't handle games that have files on both sides of the DSD! The Secret Diary Of Adrian Mole is one such game. (I don't know if there are any others.)

:!:

User avatar
sweh
Posts: 1847
Joined: Sat Mar 10, 2012 12:05 pm
Location: New York, New York
Contact:

Re: Updated - BBC Micro .MMB

Postby sweh » Sat Mar 04, 2017 2:15 pm

lurkio wrote:
sweh wrote:Mick has been pretty consistent with his menu's on each disk (I used this in https://github.com/sweharris/split_md_dsd to split the games out)

Btw, you've reminded me that Lee and I recently realised that because the splitter script assumes that each game will fit onto a single .SSD, it won't handle games that have files on both sides of the DSD! The Secret Diary Of Adrian Mole is one such game. (I don't know if there are any others.)

:!:

Hmm. What of Mick's disks is this on? There may not be anything flagging this information. And does the result need to be a dsd? If so, this would stop the easy creation of an MMB file as well 'cos it'd require loading drive 0 and 2 from the separate SSDs. Lots of special casing needed for such images!
Rgds
Stephen

User avatar
sydney
Posts: 1986
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne

Re: Updated - BBC Micro .MMB

Postby sydney » Sat Mar 04, 2017 2:56 pm

Could you not split the dsd and have each 'half' next to each other in the mmb and load both ssd every time removing the need to deal with a special case?

User avatar
lurkio
Posts: 1284
Joined: Tue Apr 09, 2013 11:30 pm
Location: Doomawangara
Contact:

Re: Updated - BBC Micro .MMB

Postby lurkio » Sat Mar 04, 2017 3:07 pm

sweh wrote:What of Mick's disks is this on?

It's here, but my update includes Master-compatibility.

sweh wrote:There may not be anything flagging this information.

No, I don't think there is.

sweh wrote:And does the result need to be a dsd?

The game's too big to fit onto a single .SSD.

sweh wrote:If so, this would stop the easy creation of an MMB file as well 'cos it'd require loading drive 0 and 2 from the separate SSDs. Lots of special casing needed for such images!

Yep, tricky!

:?

User avatar
leenew
Posts: 3398
Joined: Wed Jul 04, 2012 3:27 pm
Location: Doncaster, Yorkshire

Re: Updated - BBC Micro .MMB

Postby leenew » Sat Mar 04, 2017 4:55 pm

I think Adrian Mole is the only game in the 112 discs that spans both sides of a disc. In this case it's simply because it's too big, but I don't think any other game has files on both sides of the DSD to keep to the 31 file limit, or any other reason, so I *think* the problem is just this one game.

Lee.

User avatar
sweh
Posts: 1847
Joined: Sat Mar 10, 2012 12:05 pm
Location: New York, New York
Contact:

Re: Updated - BBC Micro .MMB

Postby sweh » Sat Mar 04, 2017 6:17 pm

sydney wrote:Could you not split the dsd and have each 'half' next to each other in the mmb and load both ssd every time removing the need to deal with a special case?

Yeah for the MMB file I had been thinking something like:
Title,MMB_number,FILENAME

Then the menu could simple *DIN 0 number and CHAIN "FILENAME". Each side of the disk would be it's own MMB_number.

Instead we may need
Title,MMB_number,side,FILENAME

So now we do *DIN 0 number and *DIN 2 number+1 and *DRIVE side and finally CHAIN "FILENAME". Now each DSD image gets a number (incremented in 2's) and that's the base number.

This should work for the MMB, but doesn't help with the split problem.
Rgds
Stephen

User avatar
sweh
Posts: 1847
Joined: Sat Mar 10, 2012 12:05 pm
Location: New York, New York
Contact:

Re: Updated - BBC Micro .MMB

Postby sweh » Sat Mar 04, 2017 6:20 pm

It's here, but my update includes Master-compatibility.

Is there a "zip of all zips" so I don't have to downloaded 100+ files? Then I can focus on the MMB builder side :-)
Rgds
Stephen

User avatar
sweh
Posts: 1847
Joined: Sat Mar 10, 2012 12:05 pm
Location: New York, New York
Contact:

Re: Updated - BBC Micro .MMB

Postby sweh » Sat Mar 04, 2017 7:48 pm

So I made a start with just the first 5 ZIP files. So far it builds the MMB and then throws DATA lines to the screen

Code: Select all

% ./build_mb_mmb.pl
Processing SRC/Disc001.dsd
Processing SRC/Disc002.dsd
Processing SRC/Disc003.dsd
Processing SRC/Disc004.dsd
Processing SRC/Disc005.dsd
DATA "Cylon Attack (A&F)<87>(STD)",10,0,CAINTRO
DATA "Dogfight<87>(2P)",12,0,DGINTRO
DATA "Pinball Arcade<87>(STT)",14,0,PINLOAD
DATA "Star Soccer (AKA Five-A-Side)<87>(2P)",12,0,SOCCA
DATA "Twin Kingdom Valley<87>(STT)",18,0,TWIN
DATA 3D Bomb Alley,16,2,BOMB
....
DATA Wallaby,16,0,WALLABY
DATA Winged Warlords,18,0,WINGED
DATA Zalaga,14,0,ZALAG-L
DATA Zany Kong,10,2,ZANY

% beeb dcat         
 10: Disc001a
 11: Disc001b
 12: Disc002a
 13: Disc002b
 14: Disc003a
 15: Disc003b
 16: Disc004a
 17: Disc004b
 18: Disc005a
 19: Disc005b


So we can see that each disk has been split into its two halves and the DATA lines report the base image, the size and the game to run. The <87> is where there's a mode7 character in the data in Mick's original :-)

One gotcha I can see coming would be two games have the same name, across two different disks. I've written a trap for that, but we need to decide how to handle this. At the moment I just add an _ to make the second one unique.
Rgds
Stephen

User avatar
sweh
Posts: 1847
Joined: Sat Mar 10, 2012 12:05 pm
Location: New York, New York
Contact:

Re: Updated - BBC Micro .MMB

Postby sweh » Fri Mar 10, 2017 2:26 pm

sweh wrote:One gotcha I can see coming would be two games have the same name, across two different disks. I've written a trap for that, but we need to decide how to handle this. At the moment I just add an _ to make the second one unique.

Fewer collisions than I expected, but a few!

Sea Wolf (Disc051) already exists on Disc018
Duck! (Disc058) already exists on Disc026
Reversi (Disc082) already exists on Disc076
Darts (Disc087) already exists on Disc057
Adventure (Disc095) already exists on Disc092
Robin Of Sherwood (Disc100) already exists on Disc055
Battleships (Disc113) already exists on Disc082
Lunar Run (Disc114) already exists on Disc113
Fruity (Disc114) already exists on Disc107
Napoleon (Disc115) already exists on Disc114
Rgds
Stephen

duikkie
Posts: 2700
Joined: Fri Feb 07, 2014 3:28 pm

Re: Updated - BBC Micro .MMB

Postby duikkie » Sat Mar 11, 2017 7:21 pm

emperor on *din156 needs page=&1100
jumbo on *156 needs allso page=&1100
inu works on page=&1900

problems solved ?

Higgy wrote:Hi.

I don't know how to correct individual games on a STH disk, or make compilations. My BBC knowledge is from about 1992 ;)

For example on:

GAMES DISC M4_r1

LORD OF THE RINGS (Melbourne House)
EMPEROR (Molimerx)
JUMBO (Molimerx)
INU (MRJ)

If Emperor did not work, I would just re-link the Menu M4_r1 reference to another slot on the .MMB which contained a working disk image.

Higgy
Posts: 22
Joined: Wed Jan 25, 2017 1:32 pm

Re: Updated - BBC Micro .MMB

Postby Higgy » Fri Nov 17, 2017 12:28 pm

Hi all,

Long time I know. Just to say I have been told Uridium does not work so I can going to re-link that to a working version which was shown on Stardot.

I just have to remember how I edited the MENU. I thought I wrote a guide that I could understand, somewhere...

Regarding this:

emperor on *din156 needs page=&1100
jumbo on *156 needs allso page=&1100
inu works on page=&1900

I don't know how to add this command before a game boots. Can it be added/edited into the !Boot file? Does a !BOOT file contain a startup-sequence?

I am not sure if the MENU allows additonal commands before the *EXEC !BOOT etc
Again my BBC knowledge is limited, but as I understand to load for example emperor WITHOUT THE MENU, you would:

*DIN 156
page=&1100
*EXEC !BOOT (or whatever CHAIN "emperor")

User avatar
tricky
Posts: 1916
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: Updated - BBC Micro .MMB

Postby tricky » Fri Nov 17, 2017 1:53 pm

My memory is a little hazy on that menu system.
!BOOT is the automatically EXECuted file when the disc is "booted", but if there is room, you could add any file and point the menu at it.
If it is *EXECed you could prepend your stuff, or if it is CHAINed, you could add a check at the beginning of the program, setting PAGE and CHAINing again if necessary.
If it is *RUN and still needs these changes, it is a little more work as there may not be room in the CATalogue to add another file.


Return to “software: other”

Who is online

Users browsing this forum: No registered users and 5 guests