Merge branch 'master' into mega65c

This commit is contained in:
mrdudz
2025-06-26 01:52:10 +02:00
33 changed files with 182 additions and 82 deletions

View File

@@ -322,8 +322,7 @@ EXELIST_gamate = \
hello
EXELIST_geos-cbm = \
ascii \
diodemo
ascii
EXELIST_geos-apple = \
ascii
@@ -382,6 +381,9 @@ EXELIST_sim6502 = \
EXELIST_sim65c02 = $(EXELIST_sim6502)
EXELIST_rp6502 = \
notavailable
EXELIST_supervision = \
notavailable
@@ -450,6 +452,7 @@ TARGETS := \
atarixl \
atari2600 \
atari5200 \
atari7800 \
atmos \
bbc \
c128 \
@@ -461,6 +464,8 @@ TARGETS := \
creativision \
cx16 \
gamate \
geos-apple \
geos-cbm \
kim1 \
lunix \
lynx \
@@ -470,6 +475,7 @@ TARGETS := \
pce \
pet \
plus4 \
rp6502 \
sim6502 \
sim65c02 \
supervision \
@@ -477,12 +483,14 @@ TARGETS := \
telestrat \
vic20
# --------------------------------------------------------------------------
# Rule to make the binaries for every platform
define TARGET_recipe
@echo making samples for: $(T)
@$(MAKE) --no-print-directory clean SYS:=$(T)
@$(MAKE) -j2 SYS:=$(T)
@$(MAKE) --no-print-directory clean SYS:=$(T)

View File

@@ -9,6 +9,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <sys/utsname.h>
#if ((__CC65__ >> 8) > 3) || ((__CC65__ & 0x000f) > 0)
/* compiler version is 2.19-git or higher */
@@ -29,6 +30,17 @@
int main(void)
{
#if !defined(__SIM6502__) && !defined(__SIM65C02__) && !defined(__AGAT__)
struct utsname buf;
uname (&buf);
printf("utsname.sysname: %s\n", buf.sysname);
printf("utsname.nodename: %s\n", buf.nodename);
printf("utsname.release: %s\n", buf.release);
printf("utsname.version: %s\n", buf.version);
printf("utsname.machine: %s\n", buf.machine);
#endif
printf("__CC65__ defined as %04x\n", __CC65__);
printf("compiler version is %u.%u\n", VER_MAJOR, VER_MINOR);
if (__CC65__ == VERSION) {

View File

@@ -43,6 +43,9 @@ EXELIST_atari2600 = \
EXELIST_atari5200 = \
notavailable
EXELIST_atari7800 = \
notavailable
EXELIST_bbc = \
notavailable