Are there multiple Sharp CE-150 ROMs?

Talk in English

Modérateur : Politburo

Répondre
Jeff_Birt
Fonctionne à 75 bauds
Fonctionne à 75 bauds
Messages : 49
Enregistré le : 14 sept. 2022 20:00

Are there multiple Sharp CE-150 ROMs?

Message par Jeff_Birt »

While again working on disassembling the CE-158 ROM (serial interface for PC-1500), I found a section of code that looks for the presence of the CE-150 printer/cassette interface. It does this by poking a small bit of code into RAM and calling it. This is done as the CE-158 can't directly 'see' the CE-150 address space.

It surprised me that it tests for three possible values: $00, $6D, and everything else. With nothing hooked to the expansion port you will get an $FF. With the CE-158 only you get an $F7 (this is just a nonsense value as nothing at this address in CE-158). With both the CE-158 and CE-150 (or just the CE-150) you get a $D7 which is the value at that address in the CE-150 ROM.

You can't directly PEEK this address form BASIC it requires twiddling the SPU/SPV lines and disabling the interrupts. Below is a bit of code in a BASIC which will poke a machine language program into RAM, run it, and print the result out (in decimal.)

If you happen to have a PC-1500 and CE-150 would you mind running this little program and posting the results? Having a CE-158 is not required. Thanks.

100:POKE &7A26,&FD,&BE,&B8,&A5,&A2,&97,&A8,&FD
110:POKE &7A2E,&81,&AE,&7A,&33,&9A,&AA
120:CALL &7A26
130:PRINT PEEK(&7A33)
140:END
remy
Fonctionne à 2400 bauds
Fonctionne à 2400 bauds
Messages : 2221
Enregistré le : 13 mars 2006 15:39
Localisation : Issy
Contact :

Re: Are there multiple Sharp CE-150 ROMs?

Message par remy »

On PockEmul it returns &6D.

There are a minimum of 2 different rom for the CE-150.
LH536701 and LH536702

Here is what have in the CE-150 service manual:
ce150.jpg
ce150.jpg (131.22 Kio) Vu 1158 fois
PockEmul, Emulateur de pocket Sharp, Canon, Casio, HP, TI, NEC, Panasonic, Sanco, Seiko, General, National, ....
sur Windows, Linux, OS X et Android
Available now on the Google Play Store and the Apple Store
Jeff_Birt
Fonctionne à 75 bauds
Fonctionne à 75 bauds
Messages : 49
Enregistré le : 14 sept. 2022 20:00

Re: Are there multiple Sharp CE-150 ROMs?

Message par Jeff_Birt »

Thanks for pointing out the clue on the silkscreen. I did not think to look there. So far nobody has found the ROM which returns $00 from $A297.
Répondre

Retourner vers « Silicium in English »