Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GB Basic

From GameBrew
GB Basic
Gameboybasic.png
General
AuthorJeff Frohwein
TypeOther Apps
Version2.1
LicenseShareware
SystemCGB
Last Updated2001/02/17
Links
Download
Website
Source

GB Basic is a floating-point BASIC interpreter for Game Boy that allows you to write & execute programs up to 7.4K bytes in size. If it is used in a cart with RAM then a program can be SAVEd and LOADed at a later time.

Here are the language specs.

Controls

A - Enter

B - Select

Select - Caps Lock

Start - Backspace

Select+Start - Break

Screenshots

gameboybasic.png gameboybasic2.png

Changelog

V2.10

  • Replaced FAST & SLOW with SPEED 0 & SPEED 1 to conserve reserved keyword space.
  • Replaced REGBC x & REGDE y with REG x,y to conserve reserved keyword space.
  • Added SINIT & SOUT for RS232 serial & digital output on Nintendo MBC spare digital output pins.

V2.00

  • Initial support for GB Colo(u)r.
  • Commands SLOW & FAST added to allow changing between single & double speed modes on the GBC.

V1.22

  • Swapped command/button positions on intro screen. Suggestted by David Nathan.
  • Fixed bug where SOUND < 256 duration would play continuously. Reported by John Montalbano.
  • Fixed error messages for DIM that were not correct. Reported by Oliver Wittchow.
  • Entry of "2g.1" caused software lockup. Reported by Marc Rawer.

V1.21

  • Individual servos pulses may now be turned off by issuing SERVO x,0. On many servos this lowers battery drain when they're not in use.

V1.20

  • MAJOR BUG FIXES.
  • Added better handshaking to link port for reliable file download using GB Terminal.
  • Fixed bug in floating point conversion that would randomly mess up many functions due to interrupts.
  • Writing to screen is now much more reliable with no more random trash displayed on screen.
  • SERVO 0,0 now disables all servo output pulses.
  • Added MEMTOP, REGBC, REGDE, & USR commands.

V1.10

  • Fixed bug that would randomly display line numbers incorrectly.
  • Game link port now supports external terminal I/O.
  • Added LINK command to configure game link port.
  • V1.08 didn't work on VGB. Haven't figured out why yet.

V1.08

  • Shift & Caps Lock now supported on external keyboard.
  • CLS now redraws onscreen menu properly in text mode.
  • Basic commands can now be entered in lower or upper case.
  • DELAY added to 'first letter' list above.

V1.07

  • Added SERVO command.
  • Changed DELAY increments from 1ms to 10ms in order to implement SERVO command.
  • Select Button is now a caps lock.
  • Credit screen now disappears after 4 seconds.
  • Carat symbol added to onscreen menu.
  • FOR,GOTO,INPUT,LIST,NEXT,PRINT,RUN & THEN now can be entered by first letter followed by period.

V1.06

  • Fixed bugs in LIST options. Up & down buttons now speed up or slow down LIST command. Pressing break now halts LIST command.
  • Added SOUND command.

V1.05

  • Added AUTO command.
  • Credit screen disappears after 10 seconds.

V1.04

  • Select & Start are BOTH now required to break.
  • This was done to allow individual buttons to be pressed and read with the new KEYPAD command.
  • Added COLOR command.

V1.03

  • Fixed 'cursor disappear' when arrow buttons pressed.
  • Greatly speeded up CLS command.
  • Added SCREEN, POINT, & LINE routines.
  • Break now works for lines that GOTO themselves.

V1.02

  • Completed RENUM routine.
  • Added restore [line#] ability.
  • Added hex entry of numbers using prefix &h.

V1.01

  • Rearranged on-screen keyboard.
  • Reassigned key controls.
  • Fixed exponent display problem.

V1.0

  • Original release.

External links

Advertising: