News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Bryce

ROM 0 feeling neglected :(

Started by Bryce, 10:19, 06 December 11

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bryce

Hi All,
     I have been asked by many MegaFlash owners: "What can I put in ROM 0 ?" and unfortunately, my answer up to now has been "not much". ROM 0 holds the BASIC interpreter and due to the fact that it needs to match the Firmware, it's not even possible to install BASIC 1.1 from a 6128 on a 464. However, there are lots of budding coders out there, so surely someone can come up with some uses for this empty space?

How about an enhanced BASIC? New commands? Faster more efficient BASIC? Or smaller, to make space for new stuff? Looking forward to hearing some ideas and maybe even testing some new code? :)

Bryce.

AMSDOS

#1
Quote from: Bryce on 10:19, 06 December 11
Hi All,
     I have been asked by many MegaFlash owners: "What can I put in ROM 0 ?" and unfortunately, my answer up to now has been "not much". ROM 0 holds the BASIC interpreter and due to the fact that it needs to match the Firmware, it's not even possible to install BASIC 1.1 from a 6128 on a 464. However, there are lots of budding coders out there, so surely someone can come up with some uses for this empty space?

How about an enhanced BASIC? New commands? Faster more efficient BASIC? Or smaller, to make space for new stuff? Looking forward to hearing some ideas and maybe even testing some new code? :)

Bryce.

Doesn't that GUI - DES use ROM Slot 0, I seem to recall that if the ROM version was installed it would fire up when you switched on the Computer, or is that different? They have what they call Background ROMs or something. Also I was under the impression that people were upgrading their 464s around 1989 to have BASIC 1.1 running on it, that was until Amstrad put a stop to it.
Perhaps if you wanted something new in ROM 0, you could take that copy of DES and write a Locomotive BASIC 2.0 like how it was on those Amstrad PC Systems running GEM! :D
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Bryce

#2
Yes, I think DES can use ROM 0 to Autoboot, but I've never tried it. I think FOS can do the same.

To get BASIC 1.1 running on a 464 you would have to swap the entire ROM 0 (Upper and Lower ROM), which the MegaFlash or other ROMBoards can't do. I assume those people back in 89 were swapping the internal ROM.

A new BASIC for the CPC would be really cool and other 8-Bit scenes have done similar stuff, such as Turbo Basic XL for the Atari. I just thought a "super-charged" BASIC would be cool. And when I see what demos and modern games can squeeze out of a CPC today compared with games of the 80's, then I'm pretty sure BASIC could be majorly improved too?

Bryce.

Phi2x

#3
.

SyX

Quote from: Bryce on 10:19, 06 December 11How about an enhanced BASIC? New commands? Faster more efficient BASIC? Or smaller, to make space for new stuff? Looking forward to hearing some ideas and maybe even testing some new code? :)
Well, in the old mags (Amstrad Semanal, Computing With The Amstrad, ...) there was a lot of nice RSXs as circle, pattern fill, sprites, ... that and TAB completion would make  a great new basic rom...

But my own ideas for a new rom 0 are not in that direction, the only basic that i use is memory, load, save, poke and call. I don't need support compability, because that i have been fooling around with the idea of an interactive python interpreter.


Bryce

Well how about a Web Browser that boots directly from ROM 0, it doesn't need BASIC to work and could use other ROMs for drivers for rpalmers Network interface? CPChromeTerminal ?

Bryce.

SyX

That is a great idea, but it's not necessary replace the rom 0. While the CPC reset, only need to check for a key shortcut in the initialization function of the browser rom to launch it, in other case goes normally.

CPChromeTerminal??? Well, something so simple as the Speccyboot project would be amazing :)

I think the only problem here is with "What can I put in ROM 0?", as if you don't put anything in the rom 0, you would not using the MegaFlash at the 100%, then i only using the 93,75% of the MegaFlash, because i'm not using the roms 0 and 7  :P

Bryce

Well if you use a 464 or a CPC+ then you can take advantage of ROM7 as I do (I have ParaDOS installed there) :)

Bryce.

TFM

Ok, to clear some misunderstandings

- DES doesn't use ROM 0 (a lot of reasons)
- No, 6128 BASIC also needs 6128 lower ROM
- Yes, FutureOS ROM A at position 0 will autoboot.

Use of ROM 0? Patched BASIC, for example the Mister-X version.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Bryce

Oh, I don't know the Mister X ROM, what does it offer extra?

Bryce.

TFM

Quote from: Bryce on 23:36, 06 December 11
Oh, I don't know the Mister X ROM, what does it offer extra?

Bryce.

Let me try to upload first...

Let's see if it works...
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

fgbrain

QuoteOk, to clear some misunderstandings

- DES doesn't use ROM 0 (a lot of reasons)

if you read the manual, it says it autoboots.
The ROM version occupied two ROMs and booted directly into the GUI environment, bypassing the BASIC command line entirely (although this could be prevented by holding down the SPACE bar).


It is foreground ROM right?
_____

6128 (UK keyboard, Crtc type 0/2), 6128+ (UK keyboard), 3.5" and 5.25" drives, Reset switch and Digiblaster (selfmade), Inicron Romram box, Bryce Megaflash, SVideo & PS/2 mouse, , Magnum Lightgun, X-MEM, X4 Board, C4CPC, Multiface2 X4, RTC X4 and Gotek USB Floppy emulator.

RockRiver

Sorry!, mates, another silly question from me... ???
Then... if I remove the ROM BASIC and FirmWare chip and leave the socket empty... I could make funtional lower & upper ROM 0 from MegaFlash or SymbiFace? I understand that in plus CPC, NO!! But in classic CPC?

Bryce

Also No. The MegaFlash (and all other ROMBoards I know of), will only replace the Upper ROM. Replacing the lower ROM would require aditional hardware.

Bryce.

TFM

Quote from: fgbrain on 10:58, 07 December 11
if you read the manual, it says it autoboots.
The ROM version occupied two ROMs and booted directly into the GUI environment, bypassing the BASIC command line entirely (although this could be prevented by holding down the SPACE bar).


It is foreground ROM right?


Ok, let's expain this in more detail. Any ROM can autoboot, because any ROM get's initialized by the CPC-OS. But usually a ROM gives control back to the OS.

If you would install DES at ROM position 0 then it would NOT work any longer, because the BASIC ROM would be missing and it depends on that.

It's a background ROM, as you see if you check. Actually DES consists ouf of two ROMs and both have &01 at address &C000, so they are both background ROMs.

Any questions? Let me know :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

TFM

Quote from: Bryce on 13:13, 07 December 11
Also No. The MegaFlash (and all other ROMBoards I know of), will only replace the Upper ROM. Replacing the lower ROM would require aditional hardware.

Bryce.

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

MacDeath


AMSDOS

Quote from: TFM/FS on 23:33, 06 December 11
Ok, to clear some misunderstandings

Ok. :)

Quote- DES doesn't use ROM 0 (a lot of reasons)

Yep - so it's a Background ROM with BASIC running in the Background.

Quote- No, 6128 BASIC also needs 6128 lower ROM

My only problem regarding this is people say 6128 BASIC, though BASIC 1.1 was also in a 664 which would of had it's own Lower ROM as well I presume - still it's a Disc Based Machine. Is a 664 with 64k Memory Expansion the same as a 6128??

I'd have to do a lot of running around looking up AAs to see what the deal is with 464s using BASIC 1.1 is there something different in a 464 sold in 1989 which allows it to have BASIC 1.1? I only vaguerly recall they were selling ROMs and Amstrad put a stop to it or something, though I don't recall anyone writing to AA asking why their BASIC 1.1 won't work in their 464. But then I may have it all wrong since that was some 20 years ago! :o

Quote- Yes, FutureOS ROM A at position 0 will autoboot.

So essentially it works on everything from scratch with certain hardware elements aspects in mind!

Use of ROM 0? Patched BASIC, for example the Mister-X version.
[/quote]
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Bryce

Due to the fact that the lower and upper ROMs are both in one physical IC, I assume the IC they were selling was actually just a 664 ROM which people were just swapping with the 464 ROM.

Bryce.

TFM

Quote from: CP/M User on 08:49, 08 December 11
Is a 664 with 64k Memory Expansion the same as a 6128??

Pretty much, but the 664 misses a GAL responsible for banking. Therefore only the 6128 is able to use RAM configurations &C1 and &C3 - needed for CP/M Plus, SOS and FutureOS.

Quote from: CP/M User on 08:49, 08 December 11
So essentially it works on everything from scratch with certain hardware elements aspects in mind!

Yes :-)

Quote from: CP/M User on 08:49, 08 December 11
Use of ROM 0? Patched BASIC, for example the Mister-X version.

Right, for example. But you can also do silly things like patch the word "Ready" to something like "Ok" or whatever :-)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

MiguelSky

Quote from: CP/M User on 08:49, 08 December 11My only problem regarding this is people say 6128 BASIC, though BASIC 1.1 was also in a 664 which would of had it's own Lower ROM as well I presume - still it's a Disc Based Machine. Is a 664 with 64k Memory Expansion the same as a 6128??

I'd have to do a lot of running around looking up AAs to see what the deal is with 464s using BASIC 1.1 is there something different in a 464 sold in 1989 which allows it to have BASIC 1.1? I only vaguerly recall they were selling ROMs and Amstrad put a stop to it or something, though I don't recall anyone writing to AA asking why their BASIC 1.1 won't work in their 464. But then I may have it all wrong since that was some 20 years ago! :o
Well, some 472 models (those with english keyboard) included BASIC 1.1 ROM, but the ones with spanish keyboard returned to BASIC 1.0. There was a good bunch of games that don't work properly with this model (I have one of these).


AMSDOS

The 664 ROM Scenario seems to explain how a 464 could have BASIC 1.1 I suppose. Those 472 machines clearly show v2 on bootup which makes it a 664!  8)  Still it's a mystery why Amstrad didn't allow for them 464s to have it's own BASIC 1.1. I also recall that them 64k Memory Expansions had additional commands, though I think they were only Commands used by programs like Bank Manager (unless someone knows different)!  :D
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

TFM

Quote from: CP/M User on 10:14, 11 December 11
The 664 ROM Scenario seems to explain how a 464 could have BASIC 1.1 I suppose. Those 472 machines clearly show v2 on bootup which makes it a 664!  8) 
Ehm.. no! The 472 still has no disc drive.

Quote from: CP/M User on 10:14, 11 December 11
Still it's a mystery why Amstrad didn't allow for them 464s to have it's own BASIC 1.1. ...

Probably because in these days most programs did run on BASIC 1.0 and a noteworthly number of programs did not run on BASIC 1.1 - especially programs from computer journals.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Bryce

?? What BASIC 1.0 programs wouldn't work on BASIC 1.1? I thought 1.1 only added additional commands?

Bryce.

TFM

Quote from: Bryce on 22:55, 12 December 11
?? What BASIC 1.0 programs wouldn't work on BASIC 1.1? I thought 1.1 only added additional commands?

Bryce.

The reason for the incompatibility is that BASIC 1.0 and 1.1 have different entry addresses for a whole bunch of firmware routines. (See CPC ROM Listing, Markt & Technik)

BASIC 1.1 added routines, in addition it altered routines (faster garbage collection for example) and it _misses_ some routines (one of them is a pity to be absent).

So yes, in the 80ies it was a pain in the ass to own a 6128 once a while. Reason enought for me to learn Z80 assembler ;-)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Powered by SMFPacks Menu Editor Mod