head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.12 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.10 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.8 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.6 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.4 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.2 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.2.0.4 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.2 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.1.0.4 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.2 pkgsrc-2023Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2024.10.16.04.21.48; author thorpej; state Exp; branches; next 1.2; commitid cdcdLlW98MfF7QtF; 1.2 date 2024.04.21.19.56.10; author thorpej; state Exp; branches; next 1.1; commitid ktVfLL5Rl2C9537F; 1.1 date 2023.11.27.03.21.00; author thorpej; state Exp; branches; next ; commitid 4B1PZo5UpvWfgcOE; desc @@ 1.3 log @Update to R48 ("Cadmium"). Changelog: Changelog: BUILD * Building BASLOAD and X16EDIT now outputs trace headers to facilitate instruction traces in the emulator for those banks. [stefan-b-jakobsson] KERNAL * Fix a few issues applying the PS/2 typematic (speed/delay) preference after a boot. [stefan-b-jakobsson] * Num Lock can now be turned off. * Added extapi command kbd_leds to fetch or set the keyboard LED state * Added extapi command scnsiz to override the KERNAL's text resolution * ioinit now disables all stock interrupt sources (VERA, VIAs, and YM2151) * 65C816 default native NMI handler now chains to the 65C02 one * Fixed a bug which caused backspace and quote mode glitches in the BASIC editor when the background color was set to 8 or above. * Removed some unused code for softclock and C64 RS-232 [Fulgen301] DOS * Added a channel 15 "T" command to return the current position within an open file and the total file size. See the example. FAT32 * Reworked code to remove indexed reads and writes on the I/O page which reach into banked RAM, which might have side effects on the 65C816. KEYMAP * Characters that exist in the layout for ISO-8859-16 that are not in -15 can now be typed [adiee5] BASIC * New commands OVAL (filled) and RING (unfilled) which can draw ellipses and circles quickly. * Fix POKE to I/O space by using a non-indexed addressing mode. This avoids the extra phantom reads which can have side effects. [Fulgen301] * Fixed regression in VPOKE where if PEEK() or POINTER() was inside its arguments. a write could happen to the wrong VRAM address MATH * Changed code in fdiv that depended on zeropage wraparound behavior so that it would also work in 65C816 native mode GRAPH * GRAPH_draw_oval implementation added * Fixed FB_set_8_pixels and FB_set_8_pixels_opaque which did not properly handle VRAM addresses > $0FFFF CHARSET * Added katakana character set [adiee5] UTILITIES * Stefan B. Jakobsson's X16-Edit has been updated. * Stefan B. Jakobsson's BASLOAD has been updated. @ text @$NetBSD: patch-Makefile,v 1.2 2024/04/21 19:56:10 thorpej Exp $ Allow the git revision to be overridden. --- Makefile.orig 2024-09-06 07:27:12.000000000 +0000 +++ Makefile 2024-10-16 03:28:36.021605922 +0000 @@@@ -354,8 +354,12 @@@@ clean: $(GIT_SIGNATURE): FORCE @@mkdir -p $(BUILD_DIR) +ifdef GIT_REV + /bin/echo -n ${GIT_REV} | tr '[:lower:]' '[:upper:]' > $(GIT_SIGNATURE) +else git diff --quiet && /bin/echo -n $$( (git rev-parse --short=8 HEAD || /bin/echo "00000000") | tr '[:lower:]' '[:upper:]') > $(GIT_SIGNATURE) \ || /bin/echo -n $$( /bin/echo -n $$(git rev-parse --short=7 HEAD || echo "0000000") | tr '[:lower:]' '[:upper:]'; /bin/echo -n '+') > $(GIT_SIGNATURE) +endif FORCE: @ 1.2 log @Update the Commander X16 emulator and ROM to verison R47. This is a major release with several features and fixes, including 65C816 CPU support in the emulator and KERNAL. Due to a change in the ROM signature location (to avoid conflict with the 65C816 vector table), both the emulator and ROM must be updated together, even if you don't intend to use 65C816 support in the emulator. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.1 2023/11/27 03:21:00 thorpej Exp $ d5 3 a7 3 --- Makefile.orig 2024-04-21 19:28:08.260002442 +0000 +++ Makefile 2024-04-21 19:29:10.060382341 +0000 @@@@ -352,8 +352,12 @@@@ clean: @ 1.1 log @Update the Commander X16 emulator and ROM to version r46. @ text @d1 1 a1 1 $NetBSD$ d5 3 a7 5 --- Makefile.orig 2023-11-06 03:34:39 +++ Makefile 2023-11-27 03:12:47 @@@@ -336,10 +336,16 @@@@ $(GIT_SIGNATURE): FORCE rm -rf $(BUILD_DIR) $(MAKE) -C codex clean d9 2 a11 2 +$(GIT_SIGNATURE): FORCE + @@mkdir -p $(BUILD_DIR) a13 2 $(GIT_SIGNATURE): FORCE @@mkdir -p $(BUILD_DIR) @