x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

NS Basic/CE (and all other variants) are now open source

1 2 3 4
nathanpc Page Icon Posted 2021-06-19 1:24 PM
#
Avatar image of nathanpc
H/PC Philosopher

Posts:
327
Location:
Portugal
Status:
It's been a very long time since I've posted something here, but yesterday while browsing Reddit I came across a very interesting post from George Henne himself announcing that he was open sourcing all of his legacy NS Basic programs.

This is really amazing and would be great to put this on the SCL archive for preservation purposes. I've started programming on Palm OS back in the day using his tools, and I believe a lot of other users here did the same. Having access to the original source code is absolutely incredible.

So, just wanted to let everyone here know about this amazing bit of news for our community. Have fun!

Here's the link to the GitHub repositories: https://github.com/nsbasic-archive
 Top of the page
stingraze Page Icon Posted 2021-06-19 2:31 PM
#
Avatar image of stingraze
Subscribers
H/PC Vanguard

Posts:
3,673
Location:
Japan
Status:
Wow! Cool information. I must try it out...
 Top of the page
joval Page Icon Posted 2021-06-20 2:48 AM
#
Avatar image of joval
Subscribers
H/PC Sensei

Posts:
1,010
Location:
Northern California
Status:
I'm impressed! You can create apps for WinCe on the Jornada 720 or Mp900 running on Basic? Nice work. Another world to explore! (Not that I understand the significance of knowing the source code and all).

Many thanks Nathan

joval

Edited by joval 2021-06-20 2:50 AM
 Top of the page
nathanpc Page Icon Posted 2021-07-02 8:08 PM
#
Avatar image of nathanpc
H/PC Philosopher

Posts:
327
Location:
Portugal
Status:
If you want to develop for Windows CE using Basic you have 2 main options: eMbedded Visual Basic, which is great and is the official Microsoft way of developing for Windows CE (in Basic at least), but that's pretty limited since and quite painful to use at times, or you could use NS Basic, which is a lot more like VB6 and gives you a lot more power. Here's a comparison of the two in case you might be interested.
 Top of the page
andrej2112 Page Icon Posted 2021-09-25 12:41 PM
#
Avatar image of andrej2112
Factorite (Junior)

Posts:
45
Location:
Bosnia and Herzegovina
Status:
Hi
Did anyone try to install NSBasic on handheld pc?
I have windows ce 2.0 (ericsson mc16), but when I try to install NS basic on device from my PC NSBasic application, It says "Not supported handheld!".
It is compatibile with hpc 2.0 sh3. I even cant install runtime downloaded here...
Someone installed it?
 Top of the page
nathanpc Page Icon Posted 2021-09-25 1:57 PM
#
Avatar image of nathanpc
H/PC Philosopher

Posts:
327
Location:
Portugal
Status:
If I remember correctly from back in the day version 7.0 was only compatible with Windows CE 3.0 or later, so you'll need an older version of the runtime and the BASIC editor. I would recommend trying version 5.0, which you can get all of the files required from here: https://web.archive.org/web/20080907220700/http://www.nsbasic.com/pu...
 Top of the page
andrej2112 Page Icon Posted 2021-09-25 7:47 PM
#
Avatar image of andrej2112
Factorite (Junior)

Posts:
45
Location:
Bosnia and Herzegovina
Status:
I installed desktop app version 8 from git hub but readme file said it is possible to install IDE on device. Github version is just for more modern versions of devices. Your link is for user runtime, I installed it. What I need is IDE on device. Someone have it?
 Top of the page
nathanpc Page Icon Posted 2021-09-26 12:51 PM
#
Avatar image of nathanpc
H/PC Philosopher

Posts:
327
Location:
Portugal
Status:
In the link that I've provided there are both, the runtime and the IDE. First get the "fat" runtime to make sure you have everything you need, then download the "Basic" HPC CAB file, that's the one that contains the IDE.
 Top of the page
andrej2112 Page Icon Posted 2021-10-02 3:32 PM
#
Avatar image of andrej2112
Factorite (Junior)

Posts:
45
Location:
Bosnia and Herzegovina
Status:
On link you sent me it is Basichpc.exe file and can not open it with archive. When I install that it say that it is demo version, I put serial from free version from github but do not accaccept it.
 Top of the page
andrej2112 Page Icon Posted 2021-10-02 8:42 PM
#
Avatar image of andrej2112
Factorite (Junior)

Posts:
45
Location:
Bosnia and Herzegovina
Status:
It say "serial number is not valid", do you have serial number, or know where to find it?
 Top of the page
dl1av Page Icon Posted 2021-10-03 6:13 AM
#
Avatar image of dl1av
Subscribers
Factorite (Elite)

Posts:
187
Location:
Germany
Status:
https://github.com/nsbasic-archive/NS-Basic-for-WinCE

It´s a very specific and detailed description of the installation process (including passes).

I will try it out myself later - first I need to search for the sync cable...
 Top of the page
dl1av Page Icon Posted 2021-10-03 4:28 PM
#
Avatar image of dl1av
Subscribers
Factorite (Elite)

Posts:
187
Location:
Germany
Status:
This evening I had the time to test the packages.

My testbed-setup consists of an hpc2000 (HP720) with serial cable and ActiveSync3.0 and an HP Omnibook with WinXP.

First the most recent version from the github:
The installation process for XP is straightforward and the necessary passes are both on the webpage.

This installs a cross-compiler for different CE-platform-targets and a WinXP-IDE on the PC. Seems to run fine. There are also some IDEs included to use on some mobile devices but mostly WindowsMobile. For legacy-systems like hpc2000 or older there is no IDE included and one has to do the work on the PC.

OK, nice to have but not the real thing to use in the field.


After that I looked into the older versions. They can only be found in the archive.org and they have to be installed by hand (package after package) because the complete installer executable has not been archived (35MB seem to be above some limit)

These were the files needed for my device (had to play around with it, there is no help for that). The correct order matters and I only tried V5.

1. runtime_hpx.exe
2. script.exe (these are the vb-roms if not installed in the target device)
3. system.exe

After that one has to look for the folder with the NS-Basic-scripts on the target: nsb_Runtime\nsbasic
There is a registering-script that opens a text-editor to enter the serial number. After closing the editor some manipulations on the registry are going on and that´s it.

Really - because the serial from the most recent version does not work. I don´t have any working serial "from the back of my handbook" (as aked) so this is the end here.

Any ideas?









Edited by dl1av 2021-10-03 4:29 PM
 Top of the page
andrej2112 Page Icon Posted 2021-10-04 3:58 PM
#
Avatar image of andrej2112
Factorite (Junior)

Posts:
45
Location:
Bosnia and Herzegovina
Status:
Hi
Thanks for help!
I already installed every thing as you said, but nothing helped, except that I try to register device by host IDE. You have this option in menu "register device". Tried opensource pass and string "demo version" as said on register form. On handheld I have two exe files in /nsbasic folder, tried both, one said run the other one and other one reporting bad serial number.
In windows menu there is dll with name "script:" and bunch of other support libraries dll-s. There is vb scripts /example folder and that is it. I tried v5 same as you.
Password is a problem. If someone has one working?
I know it is more comfortable to work on pc, but reason I tried this is on-device programming. It is fascinating little form factor...
Thanks any way!!
 Top of the page
ntware Page Icon Posted 2021-10-04 4:18 PM
#
Avatar image of ntware
H/PC Elite

Posts:
660
Location:
Florida, US
Status:
@dl1av, can you share the links on archive.org for the earlier nsbasic versions here?
 Top of the page
dl1av Page Icon Posted 2021-10-04 6:46 PM
#
Avatar image of dl1av
Subscribers
Factorite (Elite)

Posts:
187
Location:
Germany
Status:
You will need (in that order):

https://web.archive.org/web/20080907220700/http://www.nsbasic.com/pu...

https://web.archive.org/web/20080907220700/http://www.nsbasic.com/pu...

https://web.archive.org/web/20080907220700/http://www.nsbasic.com/pu...

@andrej2112: After installing all three there was a script "registering_NSBasic" (something like that, I don´t have the device handy) in one of the new folders.
It was executable (after installing "script" the script-interpreter should be on the handheld) and it seemed to run correctly but my key wasn´t.

So it seems that I can generate script-objects on the PC and run it on the handheld now but to use the developer-IDE on the handheld I need the valid key.

Until someone grabs a handbook with the valid code on the back we are lost here.
 Top of the page
1 2 3 4
Jump to forum:
Seconds to generate: 0.235 - Cached queries : 71 - Executed queries : 10