Skip to content

wildbits: restore Jr/K pre-Jr2/K2 support - #302

Open
DrPitre wants to merge 22 commits into
mainfrom
wildbits/jr_k_little_endian_support
Open

DrPitre wants to merge 22 commits into
mainfrom
wildbits/jr_k_little_endian_support

Conversation

@DrPitre

@DrPitre DrPitre commented Apr 29, 2026

Copy link
Copy Markdown
Collaborator

Overview

Restore WildBits Jr/K support for FPGA firmware predating the Jr2/K2 register
layout while preserving current-platform behavior.

The branch is merged with current main and uses the maintained recipe-only
build layout.

Notable Changes

  • Select the correct text LUT, cursor, and raster-register layout for legacy
    Jr/K hardware.
  • Route VTIO palette and cursor access through platform-specific definitions.
  • Pass the selected platform into WildBits assembly builds.
  • Include only the SD descriptors supported by each platform generation.
  • Apply the same platform selection to the FEU recipe.

Verification

NITROS9DIR=$PWD LANGUAGES=../nitros9-languages \
  make -C recipes/wildbits/l1 PLATFORM=jr libs bootfile
NITROS9DIR=$PWD LANGUAGES=../nitros9-languages \
  make -C recipes/wildbits/l1 PLATFORM=jr2 libs bootfile

NITROS9DIR=$PWD LANGUAGES=../nitros9-languages \
  make -C recipes/wildbits/l2 PLATFORM=jr libs bootfile
NITROS9DIR=$PWD LANGUAGES=../nitros9-languages \
  make -C recipes/wildbits/l2 PLATFORM=jr2 libs bootfile

NITROS9DIR=$PWD LANGUAGES=../nitros9-languages \
  make -C recipes/wildbits/feu PLATFORM=jr libs bootfile
NITROS9DIR=$PWD LANGUAGES=../nitros9-languages \
  make -C recipes/wildbits/feu PLATFORM=jr2 libs bootfile

git diff origin/main --check

Verified results:

  • Level 1, Level 2, and FEU library/bootfile builds pass for both jr and
    jr2.
  • The PR diff remains limited to four WildBits compatibility and recipe files.
  • No whitespace errors remain.
  • Generated build artifacts were cleaned.

DrPitre and others added 17 commits April 26, 2026 08:29
…os9project/nitros9 into wildbits/jr_k_little_endian_support
…os9project/nitros9 into wildbits/jr_k_little_endian_support
…os9project/nitros9 into wildbits/jr_k_little_endian_support
…os9project/nitros9 into wildbits/jr_k_little_endian_support
@Nitrobotics

Copy link
Copy Markdown
Collaborator

View is broken since PR #300

@DrPitre
DrPitre force-pushed the wildbits/jr_k_little_endian_support branch 3 times, most recently from cea746f to fc2ee1f Compare April 29, 2026 19:06
…os9project/nitros9 into wildbits/jr_k_little_endian_support
@DrPitre
DrPitre force-pushed the wildbits/jr_k_little_endian_support branch from fc2ee1f to 3ee250d Compare April 29, 2026 19:08
@DrPitre

DrPitre commented Jul 19, 2026

Copy link
Copy Markdown
Collaborator Author

Triage note: keeping this open because pre-Jr2/K2 support remains relevant. Before merge, it needs a current-main rebase plus explicit hardware or emulator validation, including resolution of the reported View regression.

@strickyak

Copy link
Copy Markdown
Collaborator

Hey Wildbits, is this a known problem?

make[1]: *** No rule to make target '.mods/basic09', needed by 'l1_wildbitsjr2.dsk'. Stop.
rm .obj/telnet.o .obj/httpd.o .obj/bootos9.o .obj/grep.o .obj/wbreset.o .obj/dw.o .obj/pick.o .obj/megaread.o .obj/inetd.o .obj/wbinfo.o
make[1]: Leaving directory '/home/strick/fixit/coco-shelf/nitros9/recipes/wildbits/l1'
make: *** [Makefile:188: nitros9.done] Error 2

…endian_support

# Conflicts:
#	recipes/wildbits/wildbits.mak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants