Browse Source

minors

pull/247/head
b1ackmai1er 4 years ago
parent
commit
fc2a6929bc
  1. 7
      Source/Doc/ROM_Applications.md
  2. 4
      Source/HBIOS/md.asm

7
Source/Doc/ROM_Applications.md

@ -371,9 +371,8 @@ A comprehensive instruction manual is available in the Doc\Contrib directory.
# TastyBASIC
TastyBASIC offers a minimal implementation of BASIC that is only 2304 bytes in size.
It originates from Li-Chen Wangs Palo Alto Tiny BASIC from around 1976. It's small size suited the
tiny memory capacities of the time. This impementation is by Dimitri Theulings and his
original souce can be found here [https://github.com/dimitrit/tastybasic](https://github.com/dimitrit/tastybasic)
It originates from Li-Chen Wang's Palo Alto Tiny BASIC from around 1976. It's small size suited the tiny memory capacities of the time. This implementation is by Dimitri Theulings and his
original source can be found here [https://github.com/dimitrit/tastybasic](https://github.com/dimitrit/tastybasic)
## Features / Limitations
@ -400,6 +399,8 @@ original souce can be found here [https://github.com/dimitrit/tastybasic](https:
- Operator precedence is supported.
Type ***BYE*** to return to the monitor.
# Play a Game
## 2048

4
Source/HBIOS/md.asm

@ -170,11 +170,11 @@ MD_CAP: ; ASSUMES THAT UNIT 0 IS RAM, UNIT 1 IS ROM
RET
MD_CAP0:
LD A,(HCB + HCB_RAMBANKS) ; POINT TO RAM BANK COUNT
LD B,4 ; SET # RESERVED ROM BANKS
LD B,4 ; SET # RESERVED RAM BANKS
JR MD_CAP2
MD_CAP1:
LD A,(HCB + HCB_ROMBANKS) ; POINT TO ROM BANK COUNT
LD B,8 ; SET # RESERVED RAM BANKS
LD B,8 ; SET # RESERVED ROM BANKS
MD_CAP2:
SUB B ; SUBTRACT OUT RESERVED BANKS
LD H,A ; H := # BANKS

Loading…
Cancel
Save