Commit 1b19c085 authored by Flaxo's avatar Flaxo

initial version of chapter 4 and 5. added cover art to readme

parent 183dc0ae
......@@ -405,7 +405,7 @@ SUM(CNT%(1))=FP^K% (floating-point array)
**A(5)=0** (sets the 5th element in the 1 dimensional
array called “A” equal to 0)
array called “A” equal to 0)
**B(5,6)=0** (sets the element in row position 5 and column position 6
in the 2 dimensional array called “B” equal to 0)
......@@ -471,7 +471,7 @@ SUM(CNT%(1))=FP^K% (floating-point array)
**ADDITION** (+): The plus sign (+) specifies that the operand on the
right is added to the operand on the left.
<span epub:type="pagebreak" id="p11" class="pagenumber">11</span>
<span epub:type="pagebreak" id="p11" class="pagenumber">11</span>
**EXAMPLES:**
......
......@@ -83,7 +83,7 @@
_Table 2-1. Commodore 64 BASIC Keywords_
| COMMAND | ABBREVIATION | SCREEN | FUNCTION TYPE |
| Command | Abbreviation | Screen | Function Type |
|:------- |:------------:|:----------------------------:|:--------------|
| ABS | A <SHIFT+B> | A ![E042](chars/E042.png) | NUMERIC |
| AND | A <SHIFT+N> | A ![E04E](chars/E04E.png) | |
......@@ -101,7 +101,7 @@
<span epub:type="pagebreak" id="p32" class="pagenumber">32</span>
| COMMAND | ABBREVIATION | SCREEN | FUNCTION TYPE |
| Command | Abbreviation | Screen | Function Type |
|:------- |:------------:|:----------------------------:|:--------------|
| END | E <SHIFT+N> | E ![E04E](chars/E04E.png) | |
| EXP | E <SHIFT+X> | E ![E058](chars/E058.png) | NUMERIC |
......@@ -125,7 +125,7 @@
<span epub:type="pagebreak" id="p33" class="pagenumber">33</span>
| COMMAND | ABBREVIATION | SCREEN | FUNCTION TYPE |
| Command | Abbreviation | Screen | Function Type |
|:------- |:------------:|:----------------------------:|:--------------|
| MID$ | M <SHIFT+I> | M ![E049](chars/E049.png) | STRING |
| NEW | none | NEW | |
......@@ -149,7 +149,7 @@
<span epub:type="pagebreak" id="p34" class="pagenumber">34</span>
| COMMAND | ABBREVIATION | SCREEN | FUNCTION TYPE |
| Command | Abbreviation | Screen | Function Type |
|:------- |:------------:|:----------------------------:|:--------------|
| SAVE | S <SHIFT+A> | S ![E041](chars/E041.png) | |
| SGN | S <SHIFT+G> | S ![E047](chars/E047.png) | NUMERIC |
......@@ -999,8 +999,8 @@ GOTO 100
**Type:** Statement\
**Format:** IF \<expression\> THEN \<line number\>\
IF \<expression\> GOTO \<line number\>\
IF \<expression\> THEN \<statements\>\
IF \<expression\> GOTO \<line number\>\
IF \<expression\> THEN \<statements\>\
**Action:** This is the statement that gives BASIC most of its
“intelligence,” the ability to evaluate conditions and take
different actions depending on the outcome.
......
......@@ -1920,7 +1920,7 @@ $D015 7 6 5 4 3 2 1 0
collisions, even though it shows up on the screen. When setting up
a background screen, it is a good idea to make everything that
should not cause a collision 01 in multi-color mode.
<span epub:type="pagebreak" id="p146" class="pagenumber">146</span>
<span epub:type="pagebreak" id="p146" class="pagenumber">146</span>
Sprite Example 1. The hot air balloon: [03-146-1.bas](code/03-146-1.bas)
......@@ -2145,7 +2145,7 @@ To bring back the screen. use the POKE shown below:
> **NOTE:** If the proper interrupt bit is enabled (turned on), an
interrupt (IRQ) will occur.
<span epub:type="pagebreak" id="p151" class="pagenumber">151</span>
<span epub:type="pagebreak" id="p151" class="pagenumber">151</span>
......@@ -3345,7 +3345,7 @@ POKE V+16, PEEK(V+16)AND 253
| 11 | DARK GREY | #4A4A4A |
| 12 | MEDIUM GREY | #7B7B7B |
| 13 | LIGHT GREEN | #A9FF9F |
| 14 | LIGHT BLUE | #706DEB |
| 14 | LIGHT BLUE | #706DEB |
| 15 | LIGHT GREY | #B2B2B2 |
......
This diff is collapsed.
This diff is collapsed.
......@@ -3,6 +3,8 @@
# Commodore 64 Programmer´s Reference Guide
![Commodore 64 Programmer's Reference Guide](cover.jpg)
This markdown version of the original Commodore Busines Machines´
Commodore 64 Programmer´s Reference Guide is based on the 1996 etext
version by Ville Muikkula as found on the Project 64 web page or on
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment