* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Searching a good cross-compiler for MS-DOS  (Read 1915 times)

0 Members and 1 Guest are viewing this topic.

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1324
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • My homepage
  • Gender: Male
Searching a good cross-compiler for MS-DOS
« on: August 29, 2016, 08:32:16 pm »
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?
« Last Edit: August 31, 2016, 01:21:48 am by DJ Omnimaga »


  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Hewlett-Packard 95LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, Nintendo DS Lite, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, Palm m5


Avatar drewn for me by Tabbes.

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 3077
  • Post Rating Ratio: +30/-2
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • @juju2143
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Searching a good cross-compiler for MS-DOS
« Reply #1 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.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
On hiatus until when the sun goes dark in plain day. on Aug 22-23 until around this weekend tuesday, so try to not kill each other during that time. SO POST LIKE CRAZY WHILE I'M NOT HERE THANKS
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

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1324
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • My homepage
  • Gender: Male
Re: Searching a good cross-compiler for MS-DOS
« Reply #2 on: August 30, 2016, 05:44:21 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: Hewlett-Packard 100LX, Hewlett-Packard 95LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, Nintendo DS Lite, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, Palm m5


Avatar drewn for me by Tabbes.

Online xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18727
  • Post Rating Ratio: +95/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Searching a good cross-compiler for MS-DOS
« Reply #3 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.
« Last Edit: August 31, 2016, 01:22:21 am by DJ Omnimaga »
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 3077
  • Post Rating Ratio: +30/-2
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • @juju2143
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Searching a good cross-compiler for MS-DOS
« Reply #4 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?
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
On hiatus until when the sun goes dark in plain day. on Aug 22-23 until around this weekend tuesday, so try to not kill each other during that time. SO POST LIKE CRAZY WHILE I'M NOT HERE THANKS
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

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1324
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • My homepage
  • Gender: Male
Re: Searching a good cross-compiler for MS-DOS
« Reply #5 on: August 31, 2016, 11:04: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 :)

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: Hewlett-Packard 100LX, Hewlett-Packard 95LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, Nintendo DS Lite, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, Palm m5


Avatar drewn for me by Tabbes.

Offline p2

  • CodeWalrus Staff
  • Super User
  • Moderator
  • CodeWalrus Supporter
  • *
  • Join Date: Aug 2016
  • Location: Germany
  • Posts: 2271
  • Post Rating Ratio: +8/-0
  • *Wubba lubba dub dub*
    • KaliPhobos
  • Gender: Male
Re: Searching a good cross-compiler for MS-DOS
« Reply #6 on: August 31, 2016, 12:11:54 pm »
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? ^^ :)
« Last Edit: August 31, 2016, 12:15:00 pm by p2 »
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, 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)

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1324
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • My homepage
  • Gender: Male
Re: Searching a good cross-compiler for MS-DOS
« Reply #7 on: August 31, 2016, 12:17:36 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: Hewlett-Packard 100LX, Hewlett-Packard 95LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, Nintendo DS Lite, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, Palm m5


Avatar drewn for me by Tabbes.

Offline p2

  • CodeWalrus Staff
  • Super User
  • Moderator
  • CodeWalrus Supporter
  • *
  • Join Date: Aug 2016
  • Location: Germany
  • Posts: 2271
  • Post Rating Ratio: +8/-0
  • *Wubba lubba dub dub*
    • KaliPhobos
  • Gender: Male
Re: Searching a good cross-compiler for MS-DOS
« Reply #8 on: August 31, 2016, 12:19:58 pm »
was too lazy to read, thought it was yours  9_9 xD
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, 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)

Online xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18727
  • Post Rating Ratio: +95/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Searching a good cross-compiler for MS-DOS
« Reply #9 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?
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1324
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • My homepage
  • Gender: Male
Re: Searching a good cross-compiler for MS-DOS
« Reply #10 on: August 31, 2016, 08:46:40 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.
« Last Edit: September 01, 2016, 11:16:52 am by DarkestEx »
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Hewlett-Packard 95LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, Nintendo DS Lite, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, Palm m5


Avatar drewn for me by Tabbes.

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 726
  • Post Rating Ratio: +15/-6
  • TI-nspire porter
Re: Searching a good cross-compiler for MS-DOS
« Reply #11 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.
  • Calculators owned: TI Nspire CX, TI-89

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1324
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • My homepage
  • Gender: Male
Re: Searching a good cross-compiler for MS-DOS
« Reply #12 on: September 01, 2016, 05:49:50 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: Hewlett-Packard 100LX, Hewlett-Packard 95LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, Nintendo DS Lite, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, Palm m5


Avatar drewn for me by Tabbes.

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 726
  • Post Rating Ratio: +15/-6
  • TI-nspire porter
Re: Searching a good cross-compiler for MS-DOS
« Reply #13 on: September 01, 2016, 07:57:03 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: TI Nspire CX, TI-89

Online xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18727
  • Post Rating Ratio: +95/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Searching a good cross-compiler for MS-DOS
« Reply #14 on: September 02, 2016, 01:11:00 am »
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-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games