Author Topic: MegaFlash ROManager as single 16 KB ROM  (Read 9828 times)

0 Members and 1 Guest are viewing this topic.

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
MegaFlash ROManager as single 16 KB ROM
« on: 05:26, 26 September 11 »
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.372
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3062
  • Likes Given: 5584
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #1 on: 09:01, 26 September 11 »
Oooh great! At last :) :) :)

Offline SyX

  • 6128 Plus
  • ******
  • Posts: 1.120
  • Country: br
  • Liked: 1093
  • Likes Given: 1863
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #2 on: 10:16, 26 September 11 »
Great News!!! :D

I will test when i return to home ;)

.
.
.

Tested every function and all work GREAT  :D

Fanstatic Work TFM!!!  :D
« Last Edit: 17:23, 26 September 11 by SyX »

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #3 on: 21:34, 26 September 11 »
Hey SyX, Thank's a lot for testing :-DDD
 
Guess next step will be some smaller updates and the 464 version (which means a major change).
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.372
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3062
  • Likes Given: 5584
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #4 on: 21:39, 26 September 11 »
I used it a bit (erase some ROMs, install new ones), seems to be working perfectly :)

Offline nurgle

  • CPC6128
  • ****
  • Posts: 200
  • Country: de
    • index.php?action=treasury
  • Liked: 7
  • Likes Given: 12
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #5 on: 00:04, 27 September 11 »
Works fine! I still have free slots, so the shrink was not that important to me. But still nice!

norecess

  • Guest
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #6 on: 04:56, 27 September 11 »
I did not try it yet, but congrats : using 2 ROMs like previously was clearly a no-go to me!
Good job!


PS. What did you do to reduce ROM size ?

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #7 on: 05:10, 27 September 11 »
@Nurgle & NoRecess: Thank's guys!!!
 
I did not try it yet, but congrats : using 2 ROMs like previously was clearly a no-go to me!
Good job!


PS. What did you do to reduce ROM size ?

It's called CPCT. Used it because I met Madram 2001 at the CPC Klassentreffen and we had a great chat, so I know he codes faithfully / precisely. Just for curiosity I tried the cheese cruncher too. But CPCT is far better in compression rate.
 
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #8 on: 23:18, 28 September 11 »
And now my 9 cents ...
 
You can download the ROManage for the MegaFlash now as a single 16 KB ROM which includes the famous Inicron ROM Booster.
 
The ROM (installed at position 15) allows you the usage of all 32 ROMs of the MegaFlash. All 32 ROMs get initialized throug the CPC firmware. Also the ROM contains the ROManager for the management of the MegaFlash. You can start it by typing !RMA.
 
Download at www.futureos.de (download section)


END OF LINE
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 11.259
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3955
  • Likes Given: 416
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #9 on: 23:29, 28 September 11 »
Very nice solution :) I'm impressed.

Bryce.

Offline redbox

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.751
  • Country: gb
    • redbox
  • Liked: 326
  • Likes Given: 267
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #10 on: 23:34, 28 September 11 »
You can download the ROManage for the MegaFlash now as a single 16 KB ROM which includes the famous Inicron ROM Booster.

Very nice TFM, well done.

Such a shame you didn't feel you could share your disassembly of the Booster ROM
you didn't feel you could share your disassembly of the Booster ROM because then we could have all learnt from it.

norecess

  • Guest
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #11 on: 23:35, 28 September 11 »
It's nice to get BOOSTER (where its primary functionality is to deal with ROMs) integrated in ROMManager (where it's primary functionality is also to deal with ROMs).


Cool !

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #12 on: 23:54, 28 September 11 »
Thank you guys! My pleasure :-DDD
 
Such a shame you didn't feel you could share your disassembly of the Booster ROM
you didn't feel you could share your disassembly of the Booster ROM because then we could have all learnt from it.

Ha-ha, the typical misunderstanding between you and me :laugh:  I'm very lucky to share - as soon as I find it :)
 
It's nice to get BOOSTER (where its primary functionality is to deal with ROMs) integrated in ROMManager (where it's primary functionality is also to deal with ROMs).
Cool !

Yes, and &500 bytes of the ROM are still free ;)
« Last Edit: 23:57, 28 September 11 by TFM/FS »
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline redbox

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.751
  • Country: gb
    • redbox
  • Liked: 326
  • Likes Given: 267
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #13 on: 23:59, 28 September 11 »
That would be great.

I assumed you would have needed the disassembly to incorporate it into your ROM? Or how did you do it?

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #14 on: 00:04, 29 September 11 »
That would be great.

I assumed you would have needed the disassembly to incorporate it into your ROM? Or how did you do it?

When I find that files - I promise - you get them first.
 
I used Softbrenner to create that ROM.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline redbox

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.751
  • Country: gb
    • redbox
  • Liked: 326
  • Likes Given: 267
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #15 on: 00:10, 29 September 11 »
Ahhh, I see now... you added your ROM manager to the existing Booster ROM. Good idea that! :)

Apologies for the misunderstanding on my part.

norecess

  • Guest
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #16 on: 02:04, 29 September 11 »
Quote
you added your ROM manager to the existing Booster ROM


So,.. to sum up, there are 6 versions of the ROMManager and now, you also introduced a "hack" on top of BOOSTER ROM ? Damn, I don't envy you at all :)


More seriously, I hope you have some kind of batch file to manage your release (cf. "DoBuild.bat") otherwise all new versions are going to be a nightmare for you to manage.

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #17 on: 04:12, 29 September 11 »
So,.. to sum up, there are 6 versions of the ROMManager and now, you also introduced a "hack" on top of BOOSTER ROM ? Damn, I don't envy you at all :)

Well, I'm a lazy person, so I keep things easy (for me at least). Without SyX help and Madrams CPCT there would be only dust ;-) And not to forget your kind words, that's motivating much :-)

 
More seriously, I hope you have some kind of batch file to manage your release (cf. "DoBuild.bat") otherwise all new versions are going to be a nightmare for you to manage.

Well, something more primitive, way more primitive. But I don't even need a PC for it. I can do it all with a CPC (ok, it's emulated at the moment...). However it works fine without a PC (Don't ask me for logic here, that's a philosophical point ;-) )
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

norecess

  • Guest
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #18 on: 05:44, 29 September 11 »
BTW - I just tested last released version, it works very well ! Sincerely, good job! You progressed.  :)


The only thing that I dislike is the fact that the ROM init message is shown 2 times at startup - is that normal and intended ? If yes (because of BOOSTER) then perhaps you could detect you are called a second time and then, skip the init message?


Otherwise, once again - congratulations, the ROM Manager starts to be really useful now ;)

Offline redbox

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.751
  • Country: gb
    • redbox
  • Liked: 326
  • Likes Given: 267
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #19 on: 09:06, 29 September 11 »
The double init is a 'feature' of the Booster ROM. I'm not sure yet if it's because of an error in the code or if it finds itself again during the walk from 31 to 1 and does it then.

norecess

  • Guest
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #20 on: 16:12, 29 September 11 »
Do you have an idea why UTOPIA's |HELP does not work anymore when using BOOSTER ?

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #21 on: 20:43, 29 September 11 »
The only thing that I dislike is the fact that the ROM init message is shown 2 times at startup - is that normal and intended ? If yes (because of BOOSTER) then perhaps you could detect you are called a second time and then, skip the init message?

Well, I know, that's a "feature" of the Booster part of the ROM, but it occupies RAM only once. So it's just nasty, but doesn't harm or shrink memory. It's due to technical reasons (Initialize ROMs 31, 30, 29... 3, 1, 1, 0). If I ever have time I'll care about this, but probably Redpoint will come over with some advanced code before.
 
The double init is a 'feature' of the Booster ROM. I'm not sure yet if it's because of an error in the code or if it finds itself again during the walk from 31 to 1 and does it then.

You're right with the latter one.
 
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline redbox

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.751
  • Country: gb
    • redbox
  • Liked: 326
  • Likes Given: 267
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #22 on: 21:26, 29 September 11 »
You're right with the latter one.

Makes sense - I'm pretty sure I've seen the routine that stops the Booster getting stuck in an infinite loop (i.e. starting all over again when it finds itself during the walk).

So this routine should be quite easy to modify so that it skips ROM position 15 (because Booster should be in this position) during the walk.  Maybe it wasn't included in this version because the author intended Booster to work in positions other than 15 as well?

I'm getting there unraveling the rest of the ROM code, but not been finding it easy.  I've isolated the main routines, but it has some funny stuff going on which copies into RAM conditionally that I haven't got the bottom of yet...

norecess

  • Guest
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #23 on: 21:33, 29 September 11 »
Actually, I tend to think I don't like this "BOOSTER" thing.


It's like a black box that everybody is afraid of ; I mean, nobody here seems to exactly understand what it does for real.


I guess it's time to really understand this piece of code or write our own implementation.

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: MegaFlash ROManager as single 16 KB ROM
« Reply #24 on: 21:41, 29 September 11 »
So this routine should be quite easy to modify so that it skips ROM position 15 (because Booster should be in this position) during the walk. Maybe it wasn't included in this version because the author intended Booster to work in positions other than 15 as well?

Well, it must scan for a position which contains the Booster ROM (better than a static number). But this would exclude modifications of the ROM (mostlikely).
 
So, therefore Ingo (ZAQ) decided to have to double initialisation, but the init-routine of the Booster checks if it has been already initialized, and then it just does not initialize a second time. I think this is a quite good idea. Nevertheless 2 line on the screen are wasted ;-)
 
 
Actually, I tend to think I don't like this "BOOSTER" thing.
It's like a black box that everybody is afraid of ; I mean, nobody here seems to exactly understand what it does for real.
I guess it's time to really understand this piece of code or write our own implementation.

Most demos are black boxes and people tend to like some of them :-)
 
The Booster works reliable since the 90ies (at least in may case) and I never had problems with it. Used it with ROM-RAM-Box, SF2 also. There were never problems. That's all I can say.
 
However, better solutions would be appreciated :)
« Last Edit: 21:46, 29 September 11 by TFM/FS »
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus