Join us on Discord!
You can help CodeWalrus stay online by donating here.

Searching a good cross-compiler for MS-DOS [HP 100LX]

Started by DarkestEx, August 29, 2016, 08:32:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DarkestEx

Hello together!
I just scored an HP 100LX on eBay which is a really awesome little retro machine ;D

It has an Intel 80186 CPU running at 7.91 MHz, 1 MB RAM, 2 MB ROM and 10 MB Flash (expandable with PCMCIA 2.0 cards, e.g. CF cards).
The display is 640x200px in size and has 4 shades of gray. CGA graphics are supported.
It runs MSDOS 5.0 from it's ROM.



Now, I would like to program it (preferably from Linux - Fedora) but Windows would work too just fine.
Does anybody of you know a good cross-compiler to develop programs for it?
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

Yuki

Try DJGPP. Dunno if you can cross-compile things with it, but if you can't get it on your DOS machine guess you can always install it in DOSBox.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

DarkestEx

Quote from: Juju on August 29, 2016, 08:53:20 PM
Try DJGPP. Dunno if you can cross-compile things with it, but if you can't get it on your DOS machine guess you can always install it in DOSBox.
I found that too, but it wasn't too great IMO.

After some more searching I finally stumbled over Borland Turbo C++ which supports i186 CPUs and runs right on the device and in DOSBox.
It even comes with a nice IDE and a debugger :)
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

Dream of Omnimaga

#3
That looks like a neat machine. I saw a topic about this on Cemetech a while back and it seems like some TI community members occasionally become interested in that computer, so maybe other people here have one too? I am curious about its capabilities. Also I edited your topic title to specify it's for HP 100LX.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Yuki

Ooh, nice you got Borland working on it. Maybe you can get Windows 3 working? And develop Windows 3 apps?
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

DarkestEx

Quote from: DJ Omnimaga on August 31, 2016, 01:16:01 AM
That looks like a neat machine. I saw a topic about this on Cemetech a while back and it seems like some TI community members occasionally become interested in that computer, so maybe other people here have one too? I am curious about its capabilities. Also I edited your topic title to specify it's for HP 100LX.
Thanks :)

Quote from: Juju on August 31, 2016, 01:20:39 AM
Ooh, nice you got Borland working on it. Maybe you can get Windows 3 working? And develop Windows 3 apps?
I think I can :)
Somebody else apparently did get it working:


I bought an CF to PCMCIA adapter and hopefully I will be able to install Windows 3.0 to this card.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

p2

Just realized the old PaintBrush would even be cool to use on such a device  :thumbsup:
*you can properly execute .bat file and stuff now? ^^ :)
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DarkestEx

Quote from: p2 on August 31, 2016, 12:11:54 PM
Just realized the old PaintBrush would even be cool to ue on such a device  :thumbsup:
*you can properly execute .bat file and stuff now? ^^ :)
Oh yes, absolutely :)
The mouse is controllable using the Arrow keys and a driver, or by connecting a mouse to the serial port.

Btw, the device is of course still not here. I just bought it from eBay this Monday.
It is still on it's way from the US.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

p2

  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

Dream of Omnimaga

That screen looks amazing, but it must be weird to use Windows or Linux on such wide screen ratio. Is it like 3:1 or something?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

DarkestEx

#10
Quote from: DJ Omnimaga on August 31, 2016, 06:24:54 PM
That screen looks amazing, but it must be weird to use Windows or Linux on such wide screen ratio. Is it like 3:1 or something?
I think so too :)
Well the resolution is 640x200px (aspect ratio 16:5). Using DOS with this aspect ratio is alright. It might be difficult for certain games though (e.g. Tetris XD).

Btw, my item is not even shipped yet:
Quote from: USPS
Shipping Label Created, USPS Awaiting Item

UPDATE:
It got now shipped :D
Quote from: USPS
Your item departed our SAN DIEGO, CA 92199 origin facility on August 31, 2016 at 7:55 pm. The item is currently in transit to the destination.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

gameblabla

There's bcc available in Debian and Ubuntu but i could not compile anything with it.
There's also GCC 2.7.2.3 for 8086 here, but without long support...

But a compiler with working 16-bit output is OpenWatcom, i'm surprised no one talked about it.
It can compile Wolfenstein 3D on a 64-bit host, supports all you need including extended memory...
I never got the linux version to work though... you should either compile from source or use the Windows version.
I wish DJGPP had support for the 8086... but OpenWatcom is great.
  • Calculators owned: None (used to own an Nspire and TI-89)

DarkestEx

Quote from: gameblabla on September 01, 2016, 05:33:36 PM
There's bcc available in Debian and Ubuntu but i could not compile anything with it.
There's also GCC 2.7.2.3 for 8086 here, but without long support...

But a compiler with working 16-bit output is OpenWatcom, i'm surprised no one talked about it.
It can compile Wolfenstein 3D on a 64-bit host, supports all you need including extended memory...
I never got the linux version to work though... you should either compile from source or use the Windows version.
I wish DJGPP had support for the 8086... but OpenWatcom is great.
Thanks a lot :)
Long support is not necessary for me.
Do they support i186 (80186)?
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

gameblabla

Quote from: DarkestEx on September 01, 2016, 05:49:50 PM
Thanks a lot :)
Long support is not necessary for me.
Do they support i186 (80186)?
They all target the 8086 so it should work on a 80186 as well.
OpenWatcom can even optimise for 80186, if that's what you want.
Just use OpenWatcom, it still is supported and it even comes with an IDE.
  • Calculators owned: None (used to own an Nspire and TI-89)

Dream of Omnimaga

Quote from: DarkestEx on August 31, 2016, 08:46:40 PM
Quote from: DJ Omnimaga on August 31, 2016, 06:24:54 PM
That screen looks amazing, but it must be weird to use Windows or Linux on such wide screen ratio. Is it like 3:1 or something?
I think so too :)
Well the resolution is 640x200px (aspect ratio 16:5). Using DOS with this aspect ratio is alright. It might be difficult for certain games though (e.g. Tetris XD).

Btw, my item is not even shipped yet:
Quote from: USPS
Shipping Label Created, USPS Awaiting Item

UPDATE:
It got now shipped :D
Quote from: USPS
Your item departed our SAN DIEGO, CA 92199 origin facility on August 31, 2016 at 7:55 pm. The item is currently in transit to the destination.
Hopefully it arrive in time. Also if that wasn't done already, since the screen is so wide it would be fun if you could make a basic calculator with the display looking similar to those cheap 10 digits basic calcs out there. :)
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Powered by EzPortal