Merge pull request #3 from sblendorio/main

Bugfix
This commit is contained in:
nino-porcino 2021-12-22 18:10:23 +01:00 committed by GitHub
commit 57c481caa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {