Another Emulator



#14

It is still very early days but I've (finally) got around to starting to rewrite my original emulator in C using Xlib. I've not worked out how to use a bit map for the symbols on the keys so I'm restricted by the available fonts.

I'm finding that it is a bit of a steep learning curve (for someone who has never used C much before now - this is only my 5th C program), made slightly more difficult by making the source code 'portable' between systems, but I think I'm starting to get the hang of it.

Screenshots below show emulators running under GNOME and Motif. I like the aspect ratios of the buttons as they are but I'm trying to decide if I should make them slightly higher and wider to allow me to use the same font for both the alternate function labels (blue) and the shifted funtion labels (yellow).

I thought about using ATAN or ACOSH instead of TAN-1 or COSH-1 to save one character, but decided to stick with the 'original' format for now...

Comments welcome - Mike T.

Edited: 23 June 2013, 6:56 p.m. after one or more responses were posted


#15

They look very nice. Any plans to port them to iOS?


#16

Unfortunalty not - I'm having quite enough 'fun' with just X11/Linux for now.

Added - And VAX/VMS with DECWindows MOTIF (why - because I can!)


Edited: 24 June 2013, 6:54 p.m.

#17

... or Android? :-)


#18

For android :

Free : go25c, go33c, go12c, go41c

Pay: go34c, go38c, go65c, go67c, go97c, go11c, go15c, go16c, go41cx, go41cxt, ...

Those are hardware emulators (no go29c as I don't have the 29 rom)


Edited: 23 June 2013, 4:18 p.m.


#19

Hi Olivier,

I have go33c installed and like it much. Thank you for this one, I'll probably even 'update' to the 34c :-).

Unfortunately, the legends are very hard to read. Surely, this is caused by the limited resolution of my small display (Huawei U8180/Ideos X1/gaga). If I knew where the artwork is located, I'd try to pixel something better readable on 240x320 displays (upgrading my phone isn't an option-I love this inexpensive and very handy mobile).

Thomas


#20

By the way, I tried the (excellent!) go48g on a Nexus 10 tablet.

The keys resize nicely, the screen is a bit small. I understand it might be difficult to resize properly on such a high resolution screen (I believe it's 2560x1600).
I can send a screenshot if you're interested

thanks and best regards
Ivan


#21

Thank you for your offer, Ivan. I'd have to redraw most of the image anyway, so it's more important to know where it is located and what format it's in. I'd be grateful for any pointer.

#22

If I ever own an andriod device, then I might try just to see if I could. However Olivier has already done a much better job than I think I could ever manage.

Mike T.

#23

They sure look nice. I for one would not increase the "height" of the keys. I personally find the slightly smaller font on the slanted side of the keys to give a three-dimensional impression that contributes to the realism of the emulation. Of course, there is also the factor of available screen real estate: if you want to port your emulation to smartphones (especially with smallish screens), you might want all key legends to be sufficiently readable.
Thanks for sharing and good luck!

Jeroen

BTW: are you implementing the P/R switch by clicking on the screen? Just curious.


Edited: 23 June 2013, 4:37 p.m.


#24

Currently there are no Spice emulators for iOS. I'm hoping somebody
will make some available.

Bob

#25

No. Nice idea though - I'm sure I should be able to use it some how.

Currently I plan to try drawing some sliding switches (my older VB code just used a text label), right now though I just want to iron out the layout, tidy up the code and make these buttons clickable.

I know that sounds easy but I already have over 800 lines of code just to draw them and they don't even move or do anything yet! Actually to be fair it isn't really that hard, it is working out what the best way to do it (in C) that is is the difficult part.

Mike T.

Edited: 23 June 2013, 6:37 p.m.

#26

Looks pretty good, except the hyphen in the inverse functions appears to be too low - lines up with the base function and not the superscript 1.


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP-41 emulator for HP-48 emulator on a Sony Ericsson P910i cell phone... Andreas Terzis 3 299 03-19-2006, 12:07 AM
Last Post: Andreas Terzis

Forum Jump: