Post Reply 
BASIC Programs on HP 50G
03-06-2014, 12:33 PM
Post: #1
BASIC Programs on HP 50G
Hi every one,

I have a several BASIC programs writen for my CASIO FX 850P and I am looking for a EASY way to run them with the HP.

I have QuickBasic which can Compile the BASIC programs and deliver a .EXE file.
Also QuickBasic compiler delivers an .OBJ file.

Is there a way somehow to convert those .OBJ or .EXE files in ARM Assembler ?

Those BASIC programs are tested, working nice and I refuse to re-write them, spend huge time, testing again, and so on, in User RPL.

Regards
Alvaro
Find all posts by this user
Quote this message in a reply
03-08-2014, 11:30 PM
Post: #2
RE: BASIC Programs on HP 50G
depending on how important / mission critical the programs are, you could consider procuring an hp-95LX to run them on. i have a personal preference for the 95LX over the 200LX series, as although lower sized (40x16 characters as opposed to up to 80x25) the 95LX LCD is far more readable by a long shot.

rob :-)
Find all posts by this user
Quote this message in a reply
03-08-2014, 11:59 PM
Post: #3
RE: BASIC Programs on HP 50G
HP implemented BASIC that is very different from the other legacy BASIC for Casio and Sharp pocket computers, and even Apple ][ BASIC. You will have to learn the HP-71B and HP-75C BASIC and do some serious recoding.

Namir
Find all posts by this user
Quote this message in a reply
03-09-2014, 04:04 AM (This post was last modified: 03-09-2014 04:05 AM by RMollov.)
Post: #4
RE: BASIC Programs on HP 50G
(03-06-2014 12:33 PM)Alvaro Wrote:  Those BASIC programs are tested, working nice and I refuse to re-write them, spend huge time, testing again, and so on, in User RPL.
I don't get the urge to run those jewels on such an incompatible platform as the hp50 is.
The latter surely has a lot more powerful means to solve problems, so it's a matter of personal choice.
Find all posts by this user
Quote this message in a reply
03-09-2014, 04:17 AM
Post: #5
RE: BASIC Programs on HP 50G
(03-08-2014 11:59 PM)Namir Wrote:  You will have to learn the HP-71B and HP-75C BASIC and do some serious recoding.

Namir
I was under the impression the OP wanted to translate some BASIC programs to the so-called HP BASIC as claimed in adds of the time of introduction. I never got seriously the latter and never heard anyone discussing it.
Find all posts by this user
Quote this message in a reply
03-09-2014, 10:31 AM
Post: #6
RE: BASIC Programs on HP 50G
I saw this comment in several places also. I think the wikipedia page for the 49 (and 50g) must have been written by TI owners who don't have a 50g. It is very misleading.

https://en.wikipedia.org/wiki/HP-49_series

It says "The HP 49 series of calculators support both algebraic (HP-Basic) and a stack-based programming language named RPL (ROM Procedural Language or Reverse Polish Lisp), a combination of Reverse Polish Notation (RPN) and Lisp."

Obviously not written by someone who actually had one of those in front of him.

It ain't OVER 'till it's 2 PICK
Find all posts by this user
Quote this message in a reply
03-09-2014, 11:33 AM
Post: #7
RE: BASIC Programs on HP 50G
The beauty (and sometimes curse) of Wikipedia is that anybody can edit it. Somebody who finds a mistake, or wants to add suitable improvements, can simply click the "edit" tab at the top of the page, and start typing (and adding links to reliable sources where it might be helpful).

R.
Find all posts by this user
Quote this message in a reply
03-09-2014, 11:40 AM
Post: #8
RE: BASIC Programs on HP 50G
They're not paying me to edit it, so knock yourself out if you want to Wink

It ain't OVER 'till it's 2 PICK
Find all posts by this user
Quote this message in a reply
03-09-2014, 11:43 AM
Post: #9
RE: BASIC Programs on HP 50G
The BASIC that is implemeted in the CASIO FX-850P is very close similiar to the GW-BASIC, QuickBasic and IBM-BASIC.
I could write the programs on a PC and then transfer them to the CASIO without any or very little change.

That was very comfortable, very easy, very quick way of computing.
BASIC is a simple and very easy Programing language, as its name says.

For better understandig, one of that jewels is a BEAM Dimensioning Program, written by me, the way I want to have it and mainly suiting Legal issues.

I need to have those programs in a Pocket Calculator when I do not have a Laptop at the hand.

I bought the HP 50g few days ago, convicted that there was some sort of BASIC implemented and, at least , I could write the Programs, RUN and TEST them in a PC before I transfer them to the calculator.
Find all posts by this user
Quote this message in a reply
03-09-2014, 11:45 AM
Post: #10
RE: BASIC Programs on HP 50G
Did you find any HP materials that claim BASIC is supported? I saw this comment in many places, but as far as I know I never saw it on anything HP put out.

I think, but I am not sure, that TI calcs do have a version of BASIC as their standard language.

It ain't OVER 'till it's 2 PICK
Find all posts by this user
Quote this message in a reply
03-09-2014, 11:57 AM
Post: #11
RE: BASIC Programs on HP 50G
(03-09-2014 11:40 AM)HP67 Wrote:  They're not paying me to edit it, so knock yourself out if you want to Wink

It's already done, took two seconds, no longer than it took to make any one of these posts. Wikipedia is not a commercial project; it's entirely created by volunteers, people like us. It's a non-profit project, and has no income apart from donations, which are used to pay for the small support staff and infrastructure.
Find all posts by this user
Quote this message in a reply
03-09-2014, 12:11 PM
Post: #12
RE: BASIC Programs on HP 50G
(03-09-2014 11:43 AM)Alvaro Wrote:  The BASIC that is implemeted in the CASIO FX-850P is very close similiar to the GW-BASIC, QuickBasic and IBM-BASIC.
I could write the programs on a PC and then transfer them to the CASIO without any or very little change.

That was very comfortable, very easy, very quick way of computing.
BASIC is a simple and very easy Programing language, as its name says.

For better understanding, one of that jewels is a BEAM Dimensioning Program, written by me, the way I want to have it and mainly suiting Legal issues.

I need to have those programs in a Pocket Calculator when I do not have a Laptop at the hand.

I bought the HP 50g few days ago, convicted that there was some sort of BASIC implemented and, at least , I could write the Programs, RUN and TEST them in a PC before I transfer them to the calculator.
I don't think that any of the HP or TI calculators will run your CASIO BASIC programs without a huge number of modifications.

If you're looking for a BASIC Pocket Calculator still in production I think that the only choice is the Sharp PC-G850V/VS, however the Sharp BASIC is not exactly the same as the CASIO BASIC so you'll have to do some changes. The Sharp PC-G850V/VS is made for the Japan education market, but you can find some for sale on eBay.

Anyway the simplest and easiest to keep using your programs would be to keep using a CASIO FX-850P.
Find all posts by this user
Quote this message in a reply
03-09-2014, 12:59 PM
Post: #13
RE: BASIC Programs on HP 50G
(03-09-2014 11:57 AM)r. pienne Wrote:  
(03-09-2014 11:40 AM)HP67 Wrote:  They're not paying me to edit it, so knock yourself out if you want to Wink

It's already done, took two seconds, no longer than it took to make any one of these posts. Wikipedia is not a commercial project; it's entirely created by volunteers, people like us. It's a non-profit project, and has no income apart from donations, which are used to pay for the small support staff and infrastructure.

Well done! But why stop there?

What about:

https://ru.wikipedia.org/wiki/HP_50g
http://commerce.hpcalc.org/50g.php
http://h30499.www3.hp.com/t5/Calculators...475/page/2
http://www.amazon.com/HP-HP50G-50g-Graph...geNumber=2
http://www.eldus.com/2165089.page
http://www.physicsforums.com/showthread....304&page=9
https://www.taschenrechner.de/shop/artik...ails/HP50g
http://www.leningrad.su/calc/cforum.php?topicid=1457
http://www.educalc.net/1619485.page
http://ried.cl/revision-a-la-nueva-calculadora-hp50g/
http://arbinada.com/pmk/node/1030

I'm sure you get the idea. Because of the wonderful internet, misinformation becomes information and once it gets wrong there is no stopping it. I don't waste time trying to correct the uncorrectable. Simply mentioning the truth on one good site (hint:not Wikipedia) like HP Museum Forums should be enough for people looking around.

It ain't OVER 'till it's 2 PICK
Find all posts by this user
Quote this message in a reply
03-09-2014, 01:09 PM
Post: #14
RE: BASIC Programs on HP 50G
Fair enough; this is an excellent site, as are others. But, it was yourself who brought up the subject of Wikipedia.

R.
Find all posts by this user
Quote this message in a reply
03-09-2014, 01:19 PM (This post was last modified: 03-09-2014 01:19 PM by HP67.)
Post: #15
RE: BASIC Programs on HP 50G
(03-09-2014 01:09 PM)r. pienne Wrote:  Fair enough; this is an excellent site, as are others. But, it was yourself who brought up the subject of Wikipedia.

R.

Yes, but my intention was only to show that Wikipedia is very often wrong, and many people are misled by thinking it's a reliable source and going there first. There isn't enough time in the world to straighten out wikipedia, so usually just ignoring it is the best policy.

I was also confused by what I read back when I was researching the 50g, so I downloaded and searched all the official 50g doc from HP. When I couldn't find anything corroborating the claims on all those other sites I realized what they wrote was simply not true.

I realize Alvaro is a very unhappy camper right now. But I hope he will change his mind, because as far as I know RPL is the best OS and language I have seen on a calculator and buying a 50g is never a mistake!

It ain't OVER 'till it's 2 PICK
Find all posts by this user
Quote this message in a reply
03-09-2014, 01:59 PM
Post: #16
RE: BASIC Programs on HP 50G
There is NO BASIC in the HP50G!!!!!!!!!!
Find all posts by this user
Quote this message in a reply
03-09-2014, 02:00 PM
Post: #17
RE: BASIC Programs on HP 50G
(03-09-2014 12:59 PM)HP67 Wrote:  I don't waste time trying to correct the uncorrectable.

XKCD: Duty Calls
[Image: duty_calls.png]
Find all posts by this user
Quote this message in a reply
03-09-2014, 03:00 PM
Post: #18
RE: BASIC Programs on HP 50G
Haha, Thomas! Great :-)

It ain't OVER 'till it's 2 PICK
Find all posts by this user
Quote this message in a reply
03-09-2014, 05:10 PM
Post: #19
RE: BASIC Programs on HP 50G
Short answer: no.

You're asking for a way to run x86 code on an ARM processor. Straight translation isn't easy, so people use emulators. I don't think anybody has tried to port anything like DOSBox to the HP 50G or that it can be done.

If you have an Android phone/tablet you could install DOSBox and run your binaries there. I'd go for this.

Being there you could also try an Android BASIC like this: http://laughton.com/basic/

A relatively inexpensive recent calculator option should be BBC BASIC on a TI 83+/84+, after installing the official free flash application. This is a classic standard BASIC straight from the CP/M era. Before getting one it would be a good idea to check everything first with a PC emulator like Wabbitemu.

Almost every other calculator would be far easier to program than a HP 50G in RPL, but you'll have essentially to learn their specific language.
Find all posts by this user
Quote this message in a reply
03-09-2014, 07:02 PM
Post: #20
RE: BASIC Programs on HP 50G
(03-09-2014 05:10 PM)Manolo Sobrino Wrote:  Short answer: no.

You're asking for a way to run x86 code on an ARM processor. Straight translation isn't easy, so people use emulators. I don't think anybody has tried to port anything like DOSBox to the HP 50G or that it can be done.

If you have an Android phone/tablet you could install DOSBox and run your binaries there. I'd go for this.

Being there you could also try an Android BASIC like this: http://laughton.com/basic/

A relatively inexpensive recent calculator option should be BBC BASIC on a TI 83+/84+, after installing the official free flash application. This is a classic standard BASIC straight from the CP/M era. Before getting one it would be a good idea to check everything first with a PC emulator like Wabbitemu.

Almost every other calculator would be far easier to program than a HP 50G in RPL, but you'll have essentially to learn their specific language.


Thank you very much Manolo.

I will have a look to TI.
RPL is not a easy thing and I have no time to spend with it.
I need something that makes "my life easier".
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)