mirror of
https://github.com/nippur72/apple1-videocard-lib.git
synced 2024-12-23 04:29:46 +00:00
commit
57c481caa8
@ -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);
|
||||
}
|
||||
|
@ -3,4 +3,3 @@
|
||||
.segmentdef Program [segments="Code, Data"]
|
||||
.segmentdef Code [start=%P]
|
||||
.segmentdef Data [startAfter="Code"]
|
||||
|
||||
|
@ -11,6 +11,3 @@
|
||||
"__KICKC__": 1
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -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"]
|
||||
|
||||
|
@ -12,6 +12,3 @@
|
||||
"__KICKC__": 1
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -161,9 +161,9 @@ void screen2_ellipse_rect(byte _x0, byte _y0, byte _x1, byte _y1)
|
||||
screen2_plot((byte) x1+1, (byte) (y1--));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
// http://members.chello.at/~easyfilter/bresenham.html
|
||||
void screen2_circle(byte _xm, byte _ym, byte _r) {
|
||||
|
Loading…
Reference in New Issue
Block a user