HP Forums

Full Version: Pokecomgo (Sharp PC emulator on Android)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

For anyone interested, it's very simple to assemble the 64Kb binary file needed to emulate the Sharp PC-1350 on Pokecomgo, a new Sharp PC emulator on Android (see Playstore).
I found the roms on the Net and according to the memory map of the 1350, you have to put cpu.rom (8 Kb) at 0000h, basic.rom (32 Kb) at 8000h and fill the rest with 0. And voilĂ  !
That enjoyable emulator can also emulate other Sharp PC as the 1245, 1401, 1402, 1360, ... but you have to find the roms ...
(07-24-2018 08:00 AM)Pekis Wrote: [ -> ]Hello,

For anyone interested, it's very simple to assemble the 64Kb binary file needed to emulate the Sharp PC-1350 on Pokecomgo, a new Sharp PC emulator on Android (see Playstore).
I found the roms on the Net and according to the memory map of the 1350, you have to put cpu.rom (8 Kb) at 0000h, basic.rom (32 Kb) at 8000h and fill the rest with 0. And voilĂ  !
That enjoyable emulator can also emulate other Sharp PC as the 1245, 1401, 1402, 1360, ... but you have to find the roms ...

Hello
I tried with your PC1350 rom files, but prgm PokecomGO crashed. What is install procedure? To start PokecomGO and the load rom files or you rename rom files and put them in ROM folder to see PokecomGo?

Thanks in advance
Toki
Hello,

You have to

- create a 64 Kb binary file named "pc1350mem.bin" with a binary editor
- put the contents of the cpu.rom file (8 Kb) at offset 0000h
- put the contents of the basic.rom file (32 Kb) at offset 8000h
- put the pc1350mem.bin file in the rom folder of PokecomGO

It's not that hard Smile
Hello
At the end I successfully made rom file of PC1350.
Thanks for help

ps do you habve the other roms?
I just found rom files for the PC-1450 at http://pocket.free.fr/html/soft/emul_pc-1450_e.html

Download one of the zipfiles, the rom files are in the executable package. The 8kb file is the internal rom, the 32kb file the external rom. Offsets are the same here:

[pc-1261/1350/1401/1402/1450]
0x0000-0x1fff : internal ROM
0x8000-0xffff : external ROM

I was not alowed to attach the file pc1450mem.bin to this post, sorry.

Edit: I found the roms for the 1245 and 1251 on this Github repository: https://github.com/atonizzo/sharpemu, in the rom folder. There are also files for the 1262. Storing those in pc1261mem.bin seems to work (but I didn't test very thorough).
The latest version of Pokecom Go (1.04.00) doesn't work on my phones for some reason, but the earlier version (1.03) is still Ok.

I managed to find the ROM images for PC-1475 (search for PockEmul source files) and after some trial and error I now have a Sharp PC-1470U up and running Smile

The ROMs for PC-1475 is:

Internal ROM:
cpu-1475.bin (8,192 bytes)

External ROMs (each 16,384 bytes):
b0-1475.bin
b1-1475.bin
b2-1475.bin
b3-1475.bin
b4-1475.bin
b5-1475.bin
b6-1475.bin
b7-1475.bin

Create two binary files, pc1470mem.bin (65,536 bytes) and pc1470bank.bin (131,072 bytes).

In the smaller file you add the internal ROM into address 0x0000-0x1fff and the 8 external ROM images into pc1470bank.bin (0x0000-0x1ffff).

PokecomGo can't emulate the PC-1475, that's why the renaming here to PC-1470.

I don't know exactly the differences between PC-1475 and PC-1470U, but so far everything seems to work.

> MEM
reports 31134

> MEM$
reports 1

Edit Nov 24, 2020:
Apparently the PC-1470U is "university" model of the PC-1475, and sold in Japan. Only one RAM card can be inserted in 1470U, compared to two in the PC-1475.
If someone is emulating Sharp PC-1350 with this app, then you know that there's no annunciator for DEG/RAD/GRAD shown on the screen.

The flag for this is located in memory position 787C, so you can use a short program to quickly check the flag.

10000 "A": A=PEEK &787C
10001 REM 1=DEGREE, 2=RADIAN, 4=GRAD
10010 ON A GOTO 10040,10060
10020 PRINT "GRAD"
10030 GOTO 10070
10040 PRINT "DEGREE"
10050 GOTO 10070
10060 PRINT "RADIAN"
10070 END
On the PC-1261/1262 there's a way to enter lowercase characters.

>POKE &203C, &08

Now you can switch to lowercase with <SHIFT>8
(11-21-2020 01:54 PM)tommi60 Wrote: [ -> ]The latest version of Pokecom Go (1.04.00) doesn't work on my phones for some reason, but the earlier version (1.03) is still Ok.
I'm on 1.05.08 now. The other calculators work (except the 1460 of which I don't have the ROM images).

Quote:I managed to find the ROM images for PC-1475 (search for PockEmul source files) and after some trial and error I now have a Sharp PC-1470U up and running Smile
I did that, and now the programs shows this when I start i but I can't seem to do anything, this text remains on the screen.

[Image: pokecom1470.jpg]

The data files are:

https://johanw.home.xs4all.nl/pc1470bank.bin
and
https://johanw.home.xs4all.nl/pc1470mem.bin

which I made from the images at https://github.com/matsumo/PockEmul

Any idea what I do wrong? Are the memory images correct, or is it that I just don't know how this model works?
Press Y key
(02-14-2023 11:51 PM)remy Wrote: [ -> ]Press Y key
Thanks that worked fine. Some calculations gave good results so that suggests my .bin files are good.
Looks like a great emulator and congrats on your work!!

When I try Pokecomgo on a Planet Computers Gemini (with Android 8.1), the PC-1245 emulation shows up fine, but the screen does not update. It just displays "Hello!" on the LCD. The touch-type keyboard appears to respond to touch, but nothing new is displayed. Resetting the PC-1245 emulation or reloading the ROM does not help.

Is it possible to add keyboard support? I would like to be able to use the Gemini keyboard instead of touch-typing on screen.

- Rob
(02-15-2023 08:10 PM)robve Wrote: [ -> ]Looks like a great emulator and congrats on your work!!

When I try Pokecomgo on a Planet Computers Gemini (with Android 8.1), the PC-1245 emulation shows up fine, but the screen does not update. It just displays "Hello!" on the LCD. The touch-type keyboard appears to respond to touch, but nothing new is displayed. Resetting the PC-1245 emulation or reloading the ROM does not help.

Is it possible to add keyboard support? I would like to be able to use the Gemini keyboard instead of touch-typing on screen.

- Rob

Don't forget to download the rom(s) (for example from Pockemul site) and put them in the Pokecomgo folder (for me with Android, it was in like Main Storage/pokecom/rom) with the right app (for me, File Manager)
(02-20-2023 08:17 PM)Pekis Wrote: [ -> ]
(02-15-2023 08:10 PM)robve Wrote: [ -> ]Looks like a great emulator and congrats on your work!!

When I try Pokecomgo on a Planet Computers Gemini (with Android 8.1), the PC-1245 emulation shows up fine, but the screen does not update. It just displays "Hello!" on the LCD. The touch-type keyboard appears to respond to touch, but nothing new is displayed. Resetting the PC-1245 emulation or reloading the ROM does not help.

Is it possible to add keyboard support? I would like to be able to use the Gemini keyboard instead of touch-typing on screen.

- Rob

Don't forget to download the rom(s) (for example from Pockemul site) and put them in the Pokecomgo folder (for me with Android, it was in like Main Storage/pokecom/rom) with the right app (for me, File Manager)

What threw me off track was that the "Select ROM" page says that a PC-1245 ROM image is included. But it also says it's a dummy file, so I feel stupid for missing that part. That message is tiny!

- Rob
(11-21-2020 01:54 PM)tommi60 Wrote: [ -> ]I managed to find the ROM images for PC-1475 (search for PockEmul source files) and after some trial and error I now have a Sharp PC-1470U up and running Smile

The ROMs for PC-1475 is:

Internal ROM:
cpu-1475.bin (8,192 bytes)

External ROMs (each 16,384 bytes):
b0-1475.bin
b1-1475.bin
b2-1475.bin
b3-1475.bin
b4-1475.bin
b5-1475.bin
b6-1475.bin
b7-1475.bin

Create two binary files, pc1470mem.bin (65,536 bytes) and pc1470bank.bin (131,072 bytes).

Thanks, this worked. I just copied the cpu-1475.rom to pc1470mem.bin which is just 8K (not 64K) and concatenated the eight bn-1475.rom files with the cp and cat Unix commands:
cp cpu-1475.rom pc1470mem.bin

cp b0-1475.bin pc1470bank.bin
cat b1-1475.rom >> pc1470bank.bin
cat b2-1475.rom >> pc1470bank.bin
cat b3-1475.rom >> pc1470bank.bin
cat b4-1475.rom >> pc1470bank.bin
cat b5-1475.rom >> pc1470bank.bin
cat b6-1475.rom >> pc1470bank.bin
cat b7-1475.rom >> pc1470bank.bin


Or to create pc1470bank.bin assuming glob b?-1475.rom only matches the 8 rom files as expected:
cat b?-1475.rom > pc1470bank.bin

- Rob
I have all ro images, except for the 1460. Looking at the code I assume the 1401 and 1402 files are the same, with the 1402 having more ram.

I could upload them somewhere if anyone is interested.
Hello,

Why isn't it yet possible to emulate the PC-1475 ? What are the necessary steps ?

Thanks
Some observations with the PC-1470 with the PC-1475 ROMs, perhaps this helps to improve this nice app:

- very nice to be able to load BASIC programs with CLOAD and LOAD, which is missing in some other emulators
- I tried INIT "F:" when MEM$="1" which worked but MEM gives 65535 and FILES "F:" gave an error, after that switching to PRO mode and typing something hangs the emulator
- key press vibration does not work (turned on/off in settings to check, tried in PC-1470)
- a physical keyboard cannot be used unfortunately, which would be very nice to have that ability (e.g. with PlanetComputer devices that have physical keyboards)
- LCD screen readability could be better or more authentic. The pixel-off color is too bright compared to pixel-on color. Also perhaps make the LCD appear slightly greenish
- perhaps add a backlight option (black pixels on a white background)
- perhaps add an invert option (white pixels on a dark background)

- Rob
(06-28-2019 07:10 AM)Pekis Wrote: [ -> ]Hello,

You have to

- create a 64 Kb binary file named "pc1350mem.bin" with a binary editor
- put the contents of the cpu.rom file (8 Kb) at offset 0000h
- put the contents of the basic.rom file (32 Kb) at offset 8000h
- put the pc1350mem.bin file in the rom folder of PokecomGO

It's not that hard Smile

I'm not familiar with binary editor. Anybody can explain how to do this? What binary editor I can use?
Reference URL's