1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2025-03-21 12:30:09 +00:00

Added "c64-" prefix on all C64-only libraries.

This commit is contained in:
jespergravgaard 2021-02-04 09:18:27 +01:00
parent f9a1edc4cc
commit 4648165f86
110 changed files with 184 additions and 165 deletions
src
main/kc
test

@ -1,4 +1,5 @@
#include <print.h>
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.

@ -2,7 +2,7 @@
// See https://www.c64-wiki.com/wiki/Floating_point_arithmetic
// See http://www.pagetable.com/c64rom/c64rom_sc.html
#include <basic-floats.h>
#include <c64-basic-floats.h>
// Zeropage addresses used to hold lo/hi-bytes of addresses of float numbers in MEM
char* const memLo = 0xfe;

@ -16,8 +16,8 @@
// |7. | #%01111111 (127/$7f) | STOP ($ )| q ($11)|COMMODR($ )| SPACE ($20)| 2 ($32)|CONTROL($ )| <- ($1f)| 1 ($31)|
// +----+----------------------+------------+------------+------------+------------+------------+------------+------------+------------+
#include <keyboard.h>
#include <c64.h>
#include <c64-keyboard.h>
// Keycodes for each screen code character from $00-$3f.
// Chars that do not have an unmodified keycode return $3f (representing RUN/STOP).

@ -12,7 +12,7 @@
// In practice a good method is to wait until the raster is beyond plexFreeNextYpos() and then call plexShowSprite(). Repeat until all 32 sprites have been shown.
// TODO: Let the caller specify the number of sprites to use (or add PLEX_ENABLE[PLEX_COUNT])
#include <multiplexer.h>
#include <c64-multiplexer.h>
#include <c64.h>
// The number of sprites in the multiplexer

@ -1,7 +1,7 @@
// C standard library time.h
// Functions to get and manipulate date and time information.
#include <time.h>
#include <c64.h>
#include <c64-time.h>
// Returns the processor clock time used since the beginning of an implementation defined era (normally the beginning of the program).

@ -1,6 +1,6 @@
// Time-of-day helper
// Uses the MOS6526 CIA#1 on Commodore 64
#include <tod.h>
#include <c64-tod.h>
#include <c64.h>
// Initialize time-of-day clock

@ -2,7 +2,7 @@
// Plots a few lines using the bresenham line algorithm
#include <c64.h>
#include <c64-bitmap.h>
#include <print.h>
#include <c64-print.h>
byte* BITMAP = 0x2000;
byte* SCREEN = 0x0400;

@ -1,6 +1,6 @@
// Tests the different standard C types
#include <print.h>
#include <c64-print.h>
void main() {
print_cls();

@ -1,7 +1,7 @@
// Interactive Explorer for C64DTV Screen Modes
#include <c64dtv.h>
#include <print.h>
#include <keyboard.h>
#include <c64-print.h>
#include <c64-keyboard.h>
#include <c64-bitmap.h>
void main() {

@ -1,7 +1,7 @@
// Exploring C64DTV Screen Modes
#include <c64dtv.h>
#include <print.h>
#include <keyboard.h>
#include <c64-print.h>
#include <c64-keyboard.h>
#include <c64-bitmap.h>
void main() {

@ -1,8 +1,8 @@
// Counting cycles using a CIA timer
#include <c64.h>
#include <time.h>
#include <print.h>
#include <c64-time.h>
#include <c64-print.h>
byte* const SCREEN = 0x0400;

@ -1,8 +1,8 @@
// Setup and run a simple CIA-timer
#include <c64.h>
#include <time.h>
#include <print.h>
#include <c64-time.h>
#include <c64-print.h>
byte* const SCREEN = 0x0400;

@ -1,4 +1,4 @@
#include <print.h>
#include <c64-print.h>
byte* const BG_COLOR = $d021;
const byte GREEN = 5;
const byte RED = 2 ;

@ -4,7 +4,7 @@
#include "font-hex.c"
#include <atan2.h>
#include <c64.h>
#include <print.h>
#include <c64-print.h>
byte* const CHARSET = 0x2000;
byte* const SCREEN = 0x2800;

@ -4,7 +4,7 @@
* Based on facebook post from
*/
#include <print.h>
#include <c64-print.h>
void main () {
print_cls();

@ -3,7 +3,7 @@
// - C= Hacking Magazine Issue 8. http://www.ffd2.com/fridge/chacking/c=hacking8.txt
// - Codebase64 Article http://codebase64.org/doku.php?id=base:3d_rotation
#include <c64.h>
#include <print.h>
#include <c64-print.h>
// The rotated point - updated by calling rotate_matrix()
signed char xr;

@ -3,7 +3,7 @@
// - C= Hacking Magazine Issue 8. http://www.ffd2.com/fridge/chacking/c=hacking8.txt
// - Codebase64 Article http://codebase64.org/doku.php?id=base:3d_rotation
#include <c64.h>
#include <print.h>
#include <c64-print.h>
// The rotated point - updated by calling rotate()
signed char xr;

@ -1,6 +1,6 @@
// Allows analysis of the CHARGEN ROM font
#include <c64.h>
#include <keyboard.h>
#include <c64-keyboard.h>
char* SCREEN = $400;

@ -6,7 +6,7 @@
// - http://codebase64.org/doku.php?id=base:seriously_fast_multiplication
// - http://codebase64.org/doku.php?id=magazines:chacking16
#include <print.h>
#include <c64-print.h>
signed char vals[] = {-95, -64, -32, -16, 0, 16, 32, 64, 95};

@ -1,6 +1,6 @@
// A simple usage of the flexible sprite multiplexer routine
#include <c64.h>
#include <multiplexer.h>
#include <c64-multiplexer.h>
// Location of screen & sprites
char* SCREEN = $400;

@ -7,7 +7,7 @@
// Original source https://github.com/cc65/cc65/blob/master/samples/plasma.c
#include <c64.h>
#include <print.h>
#include <c64-print.h>
unsigned char* const SCREEN1 = $2800;
unsigned char* const CHARSET = $2000;

@ -5,7 +5,7 @@
// Original source https://github.com/cc65/cc65/blob/master/samples/plasma.c
#include <c64.h>
#include <print.h>
#include <c64-print.h>
char* const SCREEN1 = 0x2800;
char* const SCREEN2 = 0x2c00;

@ -2,8 +2,8 @@
#include <c64.h>
#include <fastmultiply.h>
#include <time.h>
#include <print.h>
#include <c64-time.h>
#include <c64-print.h>
char* SCREEN = $0400;

@ -1,6 +1,6 @@
#include <c64.h>
#include <basic-floats.h>
#include <print.h>
#include <c64-basic-floats.h>
#include <c64-print.h>
const char sinlen_x = 221;
const char sintab_x[221];

@ -4,7 +4,7 @@
// Uses principles from C=Hacking #16 https://codebase64.org/doku.php?id=magazines:chacking16
// Utilizes the fact that a*b = ((a+b)/2)^2 - ((a-b)/2)^2
#include <print.h>
#include <c64-print.h>
void main() {
print_cls();

@ -1,4 +1,4 @@
#include <print.h>
#include <c64-print.h>
byte txt[] = "camelot";

@ -5,7 +5,7 @@
// Press "C" to enter pressed state (increaded BG_COLOR) - and "SPACE" to leave presssed state again.
// Holding SPACE will sometimes trigger the pressed state when normal interrupts are enabled (green border)
// but never when they are disabled (red border)
#include <keyboard.h>
#include <c64-keyboard.h>
#include <c64.h>
void main() {

@ -1,7 +1,7 @@
// Linear table generator
// Work in progress towards a sine generator
#include <division.h>
#include <print.h>
#include <c64-print.h>
void main() {
word lintab1[20];

@ -1,5 +1,5 @@
#include <print.h>
#include <time.h>
#include <c64-print.h>
#include <c64-time.h>
unsigned int last_time;

@ -1,5 +1,5 @@
#include "benchcommon.c"
#include <print.h>
#include <c64-print.h>
byte* const rom = (byte*)0xe000;

@ -1,4 +1,4 @@
#include <print.h>
#include <c64-print.h>
#include "benchcommon.c"
const unsigned int COUNT = 16384;

@ -1,4 +1,4 @@
#include <print.h>
#include <c64-print.h>
byte* RASTER = $d012;
byte* BORDER_COLOR = $d020;

@ -1,6 +1,6 @@
// A simple usage of the flexible sprite multiplexer routine
#include <c64.h>
#include <multiplexer.h>
#include <c64-multiplexer.h>
// Location of screen & sprites
char* SCREEN = 0x0400;

@ -1,4 +1,4 @@
#include <print.h>
#include <c64-print.h>
void main() {
print_cls();

@ -5,7 +5,7 @@
#include <string.h>
#include <sqr.h>
#include <atan2.h>
#include <print.h>
#include <c64-print.h>
const char __align(0x100) SINTABLE[0x200] = kickasm {{
.for(var i=0;i<$200;i++)

@ -2,7 +2,7 @@
// From A Comparison of Language Speed, The Transactor, March 1987, Volume 7, Issue 5
// http://csbruce.com/cbm/transactor/pdfs/trans_v7_i05.pdf
#include <print.h>
#include <c64-print.h>
#include <multiply.h>
#include <division.h>

@ -2,7 +2,7 @@
// From A Comparison of Language Speed, The Transactor, March 1987, Volume 7, Issue 5
// http://csbruce.com/cbm/transactor/pdfs/trans_v7_i05.pdf
#include <print.h>
#include <c64-print.h>
#include <multiply.h>
#include <division.h>

@ -1,6 +1,6 @@
// Tests the speed of printf()
#include <stdio.h>
#include <tod.h>
#include <c64-tod.h>
void main() {
tod_init(TOD_ZERO);

@ -1,4 +1,4 @@
#include <print.h>
#include <c64-print.h>
byte msg[] = "hello world! ";
byte msg2[] = "hello c64! ";

@ -1,7 +1,7 @@
// Test the write through to RAM when writing to VIC/CIA/colorram
#include <c64.h>
#include <print.h>
#include <c64-print.h>
void main() {
// Avoid interrupts

@ -2,7 +2,7 @@
// Tests by setting the value of the processor port - and then printing out values of $00/$01/$a000/$d000/$e000
#include <c64.h>
#include <print.h>
#include <c64-print.h>
char* const BASIC_ROM = $a000;
char* const KERNAL_ROM = $e000;

@ -1,6 +1,6 @@
// Illustrates a problem with a missing fragment - pbuc1_derefidx_vwuz1=vbuz2
#include <c64.h>
#include <keyboard.h>
#include <c64-keyboard.h>
#include <string.h>
#include <multiply.h>

@ -4,8 +4,8 @@
#include <c64.h>
#include "font-hex.c"
#include <atan2.h>
#include <time.h>
#include <print.h>
#include <c64-time.h>
#include <c64-print.h>
byte* const CHARSET = 0x2000;
byte* const SCREEN = 0x2800;

@ -4,8 +4,8 @@
#include <sqr.h>
#include <c64.h>
#include "font-hex.c"
#include <time.h>
#include <print.h>
#include <c64-time.h>
#include <c64-print.h>
#pragma zp_reserve(08)

@ -6,7 +6,7 @@
// };
// Point points[NUM_POINTS];
#include <print.h>
#include <c64-print.h>
// The size of a point
const byte SIZEOF_POINT = 2;

@ -19,8 +19,8 @@
// ENTRY files[MAX_FILES];
#include <multiply.h>
#include <print.h>
#include <keyboard.h>
#include <c64-print.h>
#include <c64-keyboard.h>
// The size of a file ENTRY
const byte SIZEOF_ENTRY = 18;

@ -1,7 +1,7 @@
#include <string.h>
#include <time.h>
#include <c64-time.h>
#include <stdint.h>
#include <print.h>
#include <c64-print.h>
char* const SCREEN = 0x0400;

@ -1,9 +1,9 @@
#include <string.h>
#include <time.h>
#include <c64-time.h>
#include <stdint.h>
#include <division.h>
#include <c64.h>
#include <print.h>
#include <c64-print.h>
char* const SCREEN = 0x0400;

@ -1,6 +1,6 @@
// Tests that signed indexed subtract works as intended
#include <print.h>
#include <c64-print.h>
signed word words[] = {-$6000, -$600, -$60, -6, 0, 6, $60, $600, $6000};

@ -1,5 +1,5 @@
#include <print.h>
#include <basic-floats.h>
#include <c64-print.h>
#include <c64-basic-floats.h>
void main() {
byte f_i[] = {0, 0, 0, 0, 0};

@ -1,6 +1,6 @@
// Generates a 16-bit signed sine
#include <sine.h>
#include <print.h>
#include <c64-print.h>
void main() {
word wavelength = 120;

@ -1,7 +1,7 @@
// Generates a 16-bit signed sine
#include <sine.h>
#include "sineb.c"
#include <print.h>
#include <c64-print.h>
void main() {
word wavelength = 120;

@ -1,5 +1,5 @@
#include <sine.h>
#include <print.h>
#include <c64-print.h>
word wavelength = 192;
signed byte sintab2[192];

@ -1,5 +1,5 @@
#include <sine.h>
#include <print.h>
#include <c64-print.h>
void main() {
word wavelength = 192;

@ -1,6 +1,6 @@
#include <sine.h>
#include <multiply.h>
#include <print.h>
#include <c64-print.h>
void main() {
word tabsize = 20;

@ -2,7 +2,7 @@
// https://gitlab.com/camelot/kickc/issues/270
#include <print.h>
#include <c64-print.h>
struct fileentry {
char *bufEdit;

@ -1,4 +1,4 @@
#include <print.h>
#include <c64-print.h>
typedef unsigned char BYTE;
typedef unsigned short WORD;
struct fileentry {

@ -1,7 +1,7 @@
// Test signed word comparisons
#include <c64.h>
#include <print.h>
#include <c64-print.h>
signed word swords[] = { -$6fed, $0012, $7fed };

@ -1,5 +1,5 @@
#include <c64.h>
#include <print.h>
#include <c64-print.h>
word words[] = { $0012, $3f34, $cfed };

@ -1,4 +1,4 @@
#include <print.h>
#include <c64-print.h>
void main() {
print_cls();

@ -1,5 +1,5 @@
// Test the binary division library
#include <print.h>
#include <c64-print.h>
#include <division.h>
void main() {

@ -1,5 +1,5 @@
// Test keyboard input - test the space bar
#include <keyboard.h>
#include <c64-keyboard.h>
void main() {
keyboard_init();

@ -1,6 +1,6 @@
// Test keyboard input - in the keyboard matrix and mapping screen codes to key codes
#include <keyboard.h>
#include <c64-keyboard.h>
void main() {
// Clear screen

@ -1,4 +1,4 @@
#include <print.h>
#include <c64-print.h>
void main() {
print_cls();

@ -1,5 +1,5 @@
// Test the fast multiplication library
#include <print.h>
#include <c64-print.h>
#include <multiply.h>
#include <fastmultiply.h>

@ -1,5 +1,5 @@
// Test the fast multiplication library
#include <print.h>
#include <c64-print.h>
#include <multiply.h>
#include <fastmultiply.h>

@ -1,6 +1,6 @@
// Tests subtracting bytes from signed words
#include <print.h>
#include <c64-print.h>
void main() {
signed word w1 = 1234;

@ -1,6 +1,6 @@
// Tests the utoa10() function that converts unsigned int to DECIMAL string
#include <stdlib.h>
#include <print.h>
#include <c64-print.h>
// buffer for number
char buf[17];

@ -1,6 +1,6 @@
// Time of Day / RTOS test using the 6526 CIA on C64
#include <conio.h>
#include <tod.h>
#include <c64-tod.h>
void main() {
tod_init(TOD_ZERO);

@ -1,6 +1,6 @@
// Adding a missing word-fragment for Travis Fisher
#include <print.h>
#include <c64-print.h>
byte action_count = 0;
const byte READY_FRAMES = 5;

@ -1,6 +1,6 @@
// Tests the special "signed" / "unsigned" without a simple type name
#include <print.h>
#include <c64-print.h>
void main() {
signed a = -1023;

@ -1,6 +1,6 @@
// Adding a missing word-fragment for Travis Fisher
#include <print.h>
#include <c64-print.h>
const byte MAX_OBJECTS = 16;
word OBJ_WORLD_X[MAX_OBJECTS];

@ -1,5 +1,5 @@
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Commodore 64 PRG executable file
.file [name="constants.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]

@ -1636,8 +1636,8 @@ Allocated (was zp[2]:16) zp[2]:7 [ print_line_cursor#25 print_line_cursor#49 pri
ASSEMBLER BEFORE OPTIMIZATION
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="constants.prg", type="prg", segments="Program"]
@ -2423,8 +2423,8 @@ FINAL ASSEMBLER
Score: 1783
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="constants.prg", type="prg", segments="Program"]

@ -1,5 +1,5 @@
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Commodore 64 PRG executable file
.file [name="incrementinarray.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]

@ -738,8 +738,8 @@ Allocated (was zp[2]:9) zp[2]:6 [ memset::dst#2 memset::dst#1 print_str::str#2 p
ASSEMBLER BEFORE OPTIMIZATION
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="incrementinarray.prg", type="prg", segments="Program"]
@ -1078,8 +1078,8 @@ FINAL ASSEMBLER
Score: 9880
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="incrementinarray.prg", type="prg", segments="Program"]

@ -1,5 +1,5 @@
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Commodore 64 PRG executable file
.file [name="linkedlist-kc.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]

@ -1491,8 +1491,8 @@ Allocated (was zp[2]:33) zp[2]:14 [ Ticks#1 print_uint::w#0 ]
ASSEMBLER BEFORE OPTIMIZATION
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="linkedlist-kc.prg", type="prg", segments="Program"]
@ -2148,8 +2148,8 @@ FINAL ASSEMBLER
Score: 14167
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="linkedlist-kc.prg", type="prg", segments="Program"]

@ -1,5 +1,5 @@
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Commodore 64 PRG executable file
.file [name="plasma-kc.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]

@ -2266,8 +2266,8 @@ Allocated (was zp[2]:62) zp[2]:24 [ rand::$2 ]
ASSEMBLER BEFORE OPTIMIZATION
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="plasma-kc.prg", type="prg", segments="Program"]
@ -3311,8 +3311,8 @@ FINAL ASSEMBLER
Score: 102109
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="plasma-kc.prg", type="prg", segments="Program"]

@ -1,5 +1,5 @@
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Commodore 64 PRG executable file
.file [name="romsum-kc.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]

@ -2045,8 +2045,8 @@ Allocated (was zp[2]:44) zp[2]:15 [ utoa::digit_value#0 utoa_append::sub#0 print
ASSEMBLER BEFORE OPTIMIZATION
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="romsum-kc.prg", type="prg", segments="Program"]
@ -2977,8 +2977,8 @@ FINAL ASSEMBLER
Score: 99336
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="romsum-kc.prg", type="prg", segments="Program"]

@ -1,5 +1,5 @@
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Commodore 64 PRG executable file
.file [name="sieve-kc.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]

@ -1123,8 +1123,8 @@ Allocated (was zp[2]:18) zp[2]:10 [ Ticks#1 print_uint::w#0 ]
ASSEMBLER BEFORE OPTIMIZATION
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="sieve-kc.prg", type="prg", segments="Program"]
@ -1766,8 +1766,8 @@ FINAL ASSEMBLER
Score: 6485
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="sieve-kc.prg", type="prg", segments="Program"]

@ -1,5 +1,5 @@
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Commodore 64 PRG executable file
.file [name="min-fmul-16.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]

@ -1281,8 +1281,8 @@ Allocated (was zp[4]:22) zp[4]:14 [ mulf16u::return#0 main::r#0 mulf16u::return#
ASSEMBLER BEFORE OPTIMIZATION
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="min-fmul-16.prg", type="prg", segments="Program"]
@ -2012,8 +2012,8 @@ FINAL ASSEMBLER
Score: 4335
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="min-fmul-16.prg", type="prg", segments="Program"]

@ -1,5 +1,5 @@
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Commodore 64 PRG executable file
.file [name="multiply-16bit-const.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]

@ -1611,8 +1611,8 @@ Allocated (was zp[4]:65) zp[4]:19 [ ultoa::digit_value#0 ultoa_append::sub#0 ]
ASSEMBLER BEFORE OPTIMIZATION
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="multiply-16bit-const.prg", type="prg", segments="Program"]
@ -2442,8 +2442,8 @@ FINAL ASSEMBLER
Score: 115473
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="multiply-16bit-const.prg", type="prg", segments="Program"]

@ -1,5 +1,5 @@
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Commodore 64 PRG executable file
.file [name="printmsg.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]

@ -500,8 +500,8 @@ Uplifting [main] best 1105 combination
ASSEMBLER BEFORE OPTIMIZATION
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="printmsg.prg", type="prg", segments="Program"]
@ -792,8 +792,8 @@ FINAL ASSEMBLER
Score: 934
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="printmsg.prg", type="prg", segments="Program"]

@ -1,5 +1,5 @@
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Commodore 64 PRG executable file
.file [name="sinus-basic.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]

@ -1276,8 +1276,8 @@ Allocated (was zp[2]:15) zp[2]:7 [ getFAC::return#2 print_uint::w#0 getFAC::retu
ASSEMBLER BEFORE OPTIMIZATION
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="sinus-basic.prg", type="prg", segments="Program"]
@ -2031,8 +2031,8 @@ FINAL ASSEMBLER
Score: 4961
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="sinus-basic.prg", type="prg", segments="Program"]

@ -1,5 +1,5 @@
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Commodore 64 PRG executable file
.file [name="struct-ptr-26.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]

@ -466,8 +466,8 @@ Allocated (was zp[2]:6) zp[2]:4 [ main::uSize#1 print_uint::w#0 ]
ASSEMBLER BEFORE OPTIMIZATION
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="struct-ptr-26.prg", type="prg", segments="Program"]
@ -673,8 +673,8 @@ FINAL ASSEMBLER
Score: 161
// File Comments
// Print a number of zero-terminated strings, each followed by a newline.
// The sequence of lines is terminated by another zero.
// A lightweight library for printing on the C64.
// Printing with this library is done by calling print_ function for each element
// Upstart
// Commodore 64 PRG executable file
.file [name="struct-ptr-26.prg", type="prg", segments="Program"]

Some files were not shown because too many files have changed in this diff Show More