Lerm MicroMate - A Full Circle

jpjp
edited April 2013 in Development
Well, it's taken a long time... but while eventually making an image of my MicroMate cartridge I totally destroyed the original during the process. Feck ;)

Here's some code that will rebuild the important MicroMate components onto a real cartridge.

The code has to do some unusual/sneaky stuff:

1. Format the cartridge with a weird name (plus tweak the default blank sector name) to stop Trans Express, Andrew Pennell's copier, and a native CAT from being able to read and backup the cartridge.
_hdname	defb $10,$11,$15
	defm "TRANS"	;
	defb $14,$ff

2. Purposefully corrupt the header checksums of sectors 1 - 5.
3. Write code to specific cartridge sectors (including the corrupted ones!)
4. Write files with hidden names to cartridge (hence tweaking the blank sector name)

Any way, the rebuild program is supplied in a K7ZX super fast loading format, and has been loaded and tested with a real Spectrum 48k and Interface One Issue 2.
It should also be compatible with an Issue 1 Interface One but has not been tested with that hardware.

To rebuild Lerm MicroMate onto a real cartridge you should :

1. Load the rebuild program into your Spectrum.
2. Insert an unused microdrive cartridge intro drive 1, and when ready press enter to start the rebuild.
3. After rebuilding has finished, reset your Spectrum and type RUN to load MicroMate.
4. From the MicroMate menu, select the option to load MiniTape.
5. Playback the MicroMate tape into your Spectrum, and transfer the back, cat, catc, tap, tapc and tk files to your new ly created MicroMate cartridge.

YMMV as to whether you can fit all these files onto the one cartridge as I've not yet found a reliable method to perform an "extended" format.


Bob's your uncle! If you do check this out, please let me know how you get on...

Cheers
Jim
Post edited by jp on

Comments

  • edited April 2008
    I cant get past Microdrve full, 0:2 sadly :(
  • jpjp
    edited April 2008
    At which point do you get the drive full message? I'm guessing 5. ??

    1. Load the rebuild program into your Spectrum.
    2. Insert an unused microdrive cartridge intro drive 1, and when ready press enter to start the rebuild.
    3. After rebuilding has finished, reset your Spectrum and type RUN to load MicroMate.
    4. From the MicroMate menu, select the option to load MiniTape.
    5. Playback the MicroMate tape into your Spectrum, and transfer the back, cat, catc, tap, tapc and tk files to your newly created MicroMate cartridge.
  • edited April 2008
    Point 2. I get :-
    formatting
    ???TRANS?? shitload of numbers
    testing

    writing sectors
    26 23 20 1D 01 05 04 03 02

    saving files
    ??????????? 0000000000000000000000

    Microdrive full, 0:2

    Tried it on quite a few carts to rule out faulty ones all give same result.
  • jpjp
    edited April 2008
    Hmm, interesting... sounds as if the formatting has gone ballistic. Will need to have a think about that
  • jpjp
    edited April 2008
    Ok, I guess we should work out exactly what went wrong with the formatting - now would be a good time to introduce the Microdrive's Swiss Army Knife

    Geoff uploaded a demonstration to Google Video a while back which shows how really useful it is.

    Have a fiddle around with it under emulation and see what you think - QAOPM should get you off to a good start.

    Hopefully, Max Desktop will shed some light on what's happened to the individual sectors on the [real] full cartridge.
    Out of interest do you have just the one microdrive unit, or another one tucked away somewhere?
  • edited April 2008
    Ok but youll have to tell me what im looking for ive never seen this before, let alone use it. As for the microdrives, if you mean the actual drives then i got 8.
  • jpjp
    edited April 2008
    Ahoy hoy, sorry for taking so long to get back to you - real life [tm], plus laptop keyboard giving up the ghost getting in the way ;)

    Here's how to get MaxDesktop onto a real cartridge:
    1. Place an unused cartridge in your real drive 1 and format it:
    FORMAT "m";1;"MaxDesktop"
    

    2. With your choice of emulator playback the MaxDesktop TAP file into your real Spectrum
    3. Have a cup of tea
    4. Once MaxDesktop has finally loaded on your real Spectrum use the QAOPM keys (up,down,left,right,fire) to position the pointer over the "Mouse" icon (top left corner)
    5. Press and hold M (fire) to display a menu - while still holding M press A (down) to select the "Customize" option.
    6. From the "Customize" menu, position the pointer over the "Save" icon - press M to select to "Save"
    7. Two files will be saved to cartridge - "max" (the program) and "run" the bootstrap.
    8. Great, you've now got a working copy of MaxDesktop on cartridge! You'll be able to use this again in the future. ;)

    OK, so to find out what's gone wrong swap over your new MaxDesktop cartridge [in drive 1] with the one that you'd previously created with the MicroMate rebuilder. Once you've done that:
    1. Position the pointer over the "Cartridge" text (top middle) and while holding M (fire) select the "Sector Editor" option.
    2. The sectors on the cartridge will be analysed.

    You should now have a scrollable display showing a summary of the sectors.

    Sector 0 should be missing.
    Sectors 1-5 should have a status of BAD
    Sectors 6-180(ish) should have a status of UNU (meaning unused)
    Sectors 180(ish)-254 should be missing

    What are the filenames (hopefully "??????????") and status of the sectors on your real cartridge?

    Cheers
    jp
  • edited April 2008
    Ok by name and status i get Sectors :-

    0 MIS
    1-5 BAD
    6-27 ????70?? ? GD
    28 MIS
    29 r GD
    30-31 ????70?? ? GD
    32 r GD
    33-34 ????70?? ? GD
    35 r GD
    36-37 ????70?? ? GD
    38 r GD
    39-78 ????70?? ? GD
    79 ????70?? ? BAD
    80-210 ????70?? ? GD
    211-254 MIS

    :roll:
  • jpjp
    edited April 2008
    Hmm, it's certainly not full. The formatting does appear to be slightly corrupt though, and it's because of the K7ZX basic loader (doh!).

    If you want to try again you can load the rebuild code back into your real Spectrum.

    At the message:
    insert cartridge in microdrive 1
    then press enter to format.
    

    Press break, then type in:
    CLEAR 32767
    NEW
    

    Wait for the Spectrum to reset, and then type in:
    RANDOMIZE USR 32768
    

    And have another go.


    Cheers
    jp
  • edited April 2008
    Pure genius :grin::grin::grin::grin::grin: it works now. Your not clive sinclair in disguise are ya lol. BIG thankyou for this wow
  • jpjp
    edited April 2008
    I'm going to have to look at the code again though :eek:
    I've fired up my hardware this afternoon and have seen some more oddly named sectors that are taking up valuable space.
  • edited April 2008
    All the files fit on the cartridge as well so why bother? Its complete :lol:
  • jpjp
    edited April 2008
    heh heh, foolish pride and cold NZ winter nights
  • jpjp
    edited July 2008
    Here's an updated version - functionally the same, but some general tidying up and tweaking.
    Badly commented source also included.
  • jpjp
    edited April 2013
    A rainy Sunday afternoon and another update - functionally the same, but with a typo fixed, some optimisation and a shorter loading time

  • edited April 2013
    Microdrives forever!

    I still get more pleasure loading things from a Microdrive than my divIDE. :)
Sign In or Register to comment.