Post Reply 
BASIC Programs on HP 50G
04-21-2014, 09:39 AM
Post: #61
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: #62
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: 28 Guest(s)