Author Topic: MS open sourced GW-BASIC from 1983  (Read 154 times)

anta40

  • Member
  • ***
  • Posts: 312
MS open sourced GW-BASIC from 1983
« on: May 23, 2020, 02:45:57 PM »
For you BASIC afficionados  :thumbsup:

https://github.com/microsoft/GW-BASIC

Yes it was written in 100% assembly. No high level (C/Pascal/etc) stuffs there.
If you are familliar with 80's assembly coding environment, perhaps you'll be interested to build it.

caballero

  • Member
  • *****
  • Posts: 1415
  • Matrix - Noah
    • abre ojos ensamblador
Re: MS open sourced GW-BASIC from 1983
« Reply #1 on: May 23, 2020, 09:59:01 PM »
Wow, that's great, 100% asm  :thumbsup:

I started to program en GW-Basic en then move to Quick Basic.
The logic of the error is hidden among the most unexpected lines of the program

Vortex

  • Member
  • *****
  • Posts: 2212
Re: MS open sourced GW-BASIC from 1983
« Reply #2 on: May 23, 2020, 11:58:45 PM »
Anybody who tried QB64 ? It looks like the continuation of Quick Basic :

https://www.qb64.org/portal/

caballero

  • Member
  • *****
  • Posts: 1415
  • Matrix - Noah
    • abre ojos ensamblador
Re: MS open sourced GW-BASIC from 1983
« Reply #3 on: May 24, 2020, 12:10:37 AM »
I have checket it out and seems to have a very high compatibility with old gw-basic and basic source codes, though it generates executables quite big.
The logic of the error is hidden among the most unexpected lines of the program

Vortex

  • Member
  • *****
  • Posts: 2212
Re: MS open sourced GW-BASIC from 1983
« Reply #4 on: May 24, 2020, 12:36:53 AM »
I did a quick test. Yes, the executables produced by the compiler are very big. A simple hello world program is 1673 Kb.

HSE

  • Member
  • *****
  • Posts: 1304
  • <AMD>< 7-32>
Re: MS open sourced GW-BASIC from 1983
« Reply #5 on: May 24, 2020, 02:18:36 AM »
I did a quick test. Yes, the executables produced by the compiler are very big. A simple hello world program is 1673 Kb.

The problem is that screen simulation is maked using graphics (Direct3D I think).  Then most of the executable is that graphic part.
But its really goood.  :thumbsup:

daydreamer

  • Member
  • *****
  • Posts: 1217
  • I also want a stargate
Re: MS open sourced GW-BASIC from 1983
« Reply #6 on: May 24, 2020, 05:34:30 AM »
I did a quick test. Yes, the executables produced by the compiler are very big. A simple hello world program is 1673 Kb.

The problem is that screen simulation is maked using graphics (Direct3D I think).  Then most of the executable is that graphic part.
But its really goood.  :thumbsup:
newer D3d is separate in .dll file,maybe some kinda runtime library/library for all proc's that handle all things included in the BASIC
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*
Gone serverside programming p:  :D
I love assembly,because its legal to write
princess:lea eax,luke
:)

Vortex

  • Member
  • *****
  • Posts: 2212
Re: MS open sourced GW-BASIC from 1983
« Reply #7 on: May 24, 2020, 06:09:26 PM »
FreeBASIC is providing an option to switch to Quick Basic mode :

Code: [Select]
fbc -lang qb Hello.bas