More actions
gbthreadlib | |
---|---|
General | |
Author | James Mc Parlane |
Type | Samples |
Version | alpha3 |
License | Mixed |
System | CGB (ASM) |
Last Updated | 1999/05/01 |
Links | |
Download | |
Website | |
Source | |
This is a micro-kernel with the following features:
- Pre-emptive multitasking: (Up to 255 threads.)
- 95% efficient context switching.
- IPC via Semaphores: (Up to 255 semaphores)
- Puts CPU into sleep mode when no tasks are running. (Low Power)
Sitting under threadlib is a single service called gblink.
This implements a simple bitstream engine which can be used as is or used to implement other higher level protocols.
The following protcols were built into the bitstream.
- A simple UDP style datagram packet protocol.
- A simple TCP style stream protocol (under construction).
The protocol is designed to reliably "trade" items from:
- GB to GB
- GB to PC
- GB to PC to PC (via network) to GB.
This is written in 100% assembler and is compiled using RGBDS (Rednex GameBoy Development System) under linux.
Screenshots
Compatibility
Its been tested on a GBC, GBP, NoCa$h and GBUK emulators.
Changelog
1998/12/28
- Added circular buffer.
1998/12/14
- Created.
External links
- Author's website - http://www.dominion.ebom.org/gameboy/ (archived)