Post Reply 
BASIC Programs on HP 50G
04-21-2014, 01:02 AM
Post: #61
RE: BASIC Programs on HP 50G
(04-20-2014 12:39 PM)Alvaro Wrote:  Hi churichuro,

Are still working on your uBASIC?

In the mean time I installed HPGCC 2.0 for Windows and the ARMToolBox 3.12 on the HP 50g.
I tried some of the examples that with HPGCC 2.0 that they complie OK and also run OK in the HP.

Now, I tried your versions of uBASIC 0.2 and 0.1 but there are a lot of errors on the HPGCC compiler so that I do not get the necessary *.HP file.
Can you help on this?
Thanks.
Alvaro

Yes Alvaro, I still work on this project

but my real job takes me 14 hours a day lately
and I have little time for the development of BASIC

anyway not think it's a rush job.

I find it strange that the version 0.1 does not compile.
anyway I prefer that you wait a bit to release
version 0.3

which includes a real string handling
and better error handling.

I am developing for MAC OSX, and WIn-8 for convenience
and then a version that works better
will do the upgrade for the TI-89, TI-voyage calculators, and of course for HP-50

one more thing...I need a new name for UBASIC, any ideas?

regards
Find all posts by this user
Quote this message in a reply
04-21-2014, 09:39 AM
Post: #62
RE: BASIC Programs on HP 50G
(04-21-2014 01:02 AM)churichuro Wrote:  Yes Alvaro, I still work on this project

but my real job takes me 14 hours a day lately
and I have little time for the development of BASIC

anyway not think it's a rush job.

I find it strange that the version 0.1 does not compile.
anyway I prefer that you wait a bit to release
version 0.3

which includes a real string handling
and better error handling.

I am developing for MAC OSX, and WIn-8 for convenience
and then a version that works better
will do the upgrade for the TI-89, TI-voyage calculators, and of course for HP-50

one more thing...I need a new name for UBASIC, any ideas?

regards

Hi churichuro,
I am very glad to hear that your project is still up.
About a new name for your project, what about HP2BASIC?

About the HPGCC compiler errors, after changing the names of several files of the INCLUDE statement (for example STDIO.H in HPSTDIO.H, MATH.H in HPMATH.H and several other ) I get the following errors in Version 02.c (Version 01 there are more errors):
> "dmake" V_0_2.hp
arm-elf-gcc -mtune=arm920t -mcpu=arm920t -mlittle-endian -fomit-frame-pointer -msoft-float -Wall -Os -pipe -mthumb-interwork -mthumb -IH:\HPGCC-2.0-native-win32-SP2/include -I.. -c V_0_2.c -o V_0_2.o
V_0_2.c:9:20: error: setjmp.h: No such file or directory
V_0_2.c: In function 'clrscr':
V_0_2.c:38: warning: implicit declaration of function 'system'
V_0_2.c:45:21: error: windows.h: No such file or directory
V_0_2.c: In function 'gotoxy':
V_0_2.c:50: error: 'COORD' undeclared (first use in this function)
V_0_2.c:50: error: (Each undeclared identifier is reported only once
V_0_2.c:50: error: for each function it appears in.)
V_0_2.c:50: error: expected ';' before 'coord'
V_0_2.c:51: error: 'coord' undeclared (first use in this function)
V_0_2.c:53: warning: implicit declaration of function 'SetConsoleCursorPosition'
V_0_2.c:53: warning: implicit declaration of function 'GetStdHandle'
V_0_2.c:53: error: 'STD_OUTPUT_HANDLE' undeclared (first use in this function)
V_0_2.c:78:1: warning: "WAIT_CANCEL" redefined
In file included from H:\HPGCC-2.0-native-win32-SP2/include/hpgcc49.h:43,
from V_0_2.c:4:
H:\HPGCC-2.0-native-win32-SP2/include/hpkeyb49.h:646:1: warning: this is the location of the previous definition
V_0_2.c:81:1: warning: "sat_stack_pop_string_alloc" redefined
In file included from H:\HPGCC-2.0-native-win32-SP2/include/hpgcc49.h:53,
from V_0_2.c:4:
H:\HPGCC-2.0-native-win32-SP2/include/saturn.h:1086:1: warning: this is the location of the previous definition
V_0_2.c: In function 'indice_cad':
V_0_2.c:1160: warning: comparison between pointer and integer
V_0_2.c: In function 'Pause':
V_0_2.c:1170: warning: implicit declaration of function 'getch'
V_0_2.c:2214:2: warning: no newline at end of file
make: *** [V_0_2.o] Error 1

> Process Exit Code: 2
> Time Taken: 00:00


Regards
Alvaro
Find all posts by this user
Quote this message in a reply
04-21-2014, 09:27 PM
Post: #63
RE: BASIC Programs on HP 50G
(04-21-2014 09:39 AM)Alvaro Wrote:  Hi churichuro,
I am very glad to hear that your project is still up.
About a new name for your project, what about HP2BASIC?

About the HPGCC compiler errors, after changing the names of several files of the INCLUDE statement (for example STDIO.H in HPSTDIO.H, MATH.H in HPMATH.H and several other ) I get the following errors in Version 02.c (Version 01 there are more errors):
> "dmake" V_0_2.hp
arm-elf-gcc -mtune=arm920t -mcpu=arm920t -mlittle-endian -fomit-frame-pointer -msoft-float -Wall -Os -pipe -mthumb-interwork -mthumb -IH:\HPGCC-2.0-native-win32-SP2/include -I.. -c V_0_2.c -o V_0_2.o
V_0_2.c:9:20: error: setjmp.h: No such file or directory
V_0_2.c: In function 'clrscr':
V_0_2.c:38: warning: implicit declaration of function 'system'
V_0_2.c:45:21: error: windows.h: No such file or directory
V_0_2.c: In function 'gotoxy':
V_0_2.c:50: error: 'COORD' undeclared (first use in this function)
V_0_2.c:50: error: (Each undeclared identifier is reported only once
V_0_2.c:50: error: for each function it appears in.)
V_0_2.c:50: error: expected ';' before 'coord'
V_0_2.c:51: error: 'coord' undeclared (first use in this function)
V_0_2.c:53: warning: implicit declaration of function 'SetConsoleCursorPosition'
V_0_2.c:53: warning: implicit declaration of function 'GetStdHandle'
V_0_2.c:53: error: 'STD_OUTPUT_HANDLE' undeclared (first use in this function)
V_0_2.c:78:1: warning: "WAIT_CANCEL" redefined
In file included from H:\HPGCC-2.0-native-win32-SP2/include/hpgcc49.h:43,
from V_0_2.c:4:
H:\HPGCC-2.0-native-win32-SP2/include/hpkeyb49.h:646:1: warning: this is the location of the previous definition
V_0_2.c:81:1: warning: "sat_stack_pop_string_alloc" redefined
In file included from H:\HPGCC-2.0-native-win32-SP2/include/hpgcc49.h:53,
from V_0_2.c:4:
H:\HPGCC-2.0-native-win32-SP2/include/saturn.h:1086:1: warning: this is the location of the previous definition
V_0_2.c: In function 'indice_cad':
V_0_2.c:1160: warning: comparison between pointer and integer
V_0_2.c: In function 'Pause':
V_0_2.c:1170: warning: implicit declaration of function 'getch'
V_0_2.c:2214:2: warning: no newline at end of file
make: *** [V_0_2.o] Error 1

> Process Exit Code: 2
> Time Taken: 00:00


Regards
Alvaro

thank you Alvaro this report help me a lot.
I am working.
Find all posts by this user
Quote this message in a reply
Post Reply 




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