This commit is contained in:
francescosblendorio 2021-12-22 18:04:19 +01:00
parent 78ba730941
commit 8adce072af
7 changed files with 2 additions and 12 deletions

View File

@ -1,5 +1,4 @@
#include <tms9918.h>
#include <fastmultiply.h>
void main(void) {
mulf_init();
@ -10,7 +9,6 @@ void main(void) {
//screen2_puts("*** P-LAB VIDEO CARD SYSTEM ***", 0, 0, text_color);
screen2_plot_mode = PLOT_MODE_SET;
screen2_line(0, 0, (unsigned char) mulf8u(50,3), 50);
// TODO: THIS DOES NOT WORK screen2_ellipse_rect(10, 10, 150, 100);
screen2_circle(128,76,30);
}

View File

@ -3,4 +3,3 @@
.segmentdef Program [segments="Code, Data"]
.segmentdef Code [start=%P]
.segmentdef Data [startAfter="Code"]

View File

@ -11,6 +11,3 @@
"__KICKC__": 1
}
}

View File

@ -3,4 +3,3 @@
.segmentdef Program [segments="Code, Data"]
.segmentdef Code [start=$4000,min=$4000,max=$7fff,outBin="apple1_codeseg.bin"]
.segmentdef Data [start=$0280,min=$0280,max=$0fff,outBin="apple1_dataseg.bin"]

View File

@ -12,6 +12,3 @@
"__KICKC__": 1
}
}

View File

@ -5,4 +5,4 @@
.segmentdef Code [start=%P]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUpstart(%E)
:BasicUpstart(%E)

View File

@ -162,8 +162,8 @@ void screen2_ellipse_rect(byte _x0, byte _y0, byte _x1, byte _y1)
}
}
}
*/
}
// http://members.chello.at/~easyfilter/bresenham.html
void screen2_circle(byte _xm, byte _ym, byte _r) {