QBGMB

Gameboy emulator coded in QuickBasic

by Jyzero

jyzero@hotmail.com

This program uses:

XMSlib by Gabriel Fernandez
QBblast by Marc van den Dikkenberg
Z80 timing tables from GNUboy

Sound version uses:

DirectQB by Angelo Motola

--Files--

QBGMB.EXE   	-Gameboy emulator
QBGMBS.EXE	-Gameboy emulator with partial SB sound
QBGMB.BAS	-Source code to QBGMB
QBGMBS.BAS	-Source code to QBGMBS
DIRECTQB.BI	-Modified DQB include file
XMSLIB.BI	-XMSlib include files
SINE.RAW	-Crappy waveform for QBGMBS
DQB.QLB		-Modified DQB quicklibrary
MBC.QLB		-Modified XMSlib quicklibrary
MBC.ASM		-Modified XMSlib source
MAIN.ASM	-Modified DQB source
SOUND.ASM 	-Modified DQB source

--Included Freeware rom --

PONG.GB
DAWN.GB
ANTS.GB

--Usage--

QBGMB <romname.ext>
QBGMBS <romname.ext>

--Background--

	I wanted to code an emulator in QB before the scene
vanishes.  They ware too many NES emus so I coded a GB emu. 
I have no more motivation to find remaining bugs or to add
GBC support so I release it unfinished, but working.

	Note that it's slow because :
		-It's in QB
		-Limited RAM exiges lot of swap
		-No asm

--Progress--

Z80 emulation		99% (Few bugs with undocumented opcodes)
LCD Render		100%
LCD control emulation	60% (Timing problems)
Interupt system		20% (Need to be redone)
Sound emulation		10% (No waveform, only 2 channels)
MBC emulation		20% (1, 2, 3 only.  Problems with 1)
Joypad emulation	50% (Sometimes does not respond)
Timer emulation		80% (Could be improved, problem with interrups)
Battery RAM             20% (Only with supported MBC) 
GBC,serial,other	0%

--Disclainer--

	Do what you want with it.

--Compatibility list :

Works :

	-Pokemon blue
	-Kirby dreamland
	-Donkey Kong Land
	-Kirby Pinball
        -Zelda
        -Tetris
	-Tennis
	-others...

Partial :
	
	-Super mario land (no music)
	-Alleyway (joypad do not respond)
	-other...
