Skip to content

Hotfix: Apple 2 support - #11

Merged
kassane merged 2 commits into
mainfrom
apple-II-PRODOS-support
Oct 4, 2026
Merged

kassane merged 2 commits into
mainfrom
apple-II-PRODOS-support

Conversation

@kassane

@kassane kassane commented Oct 4, 2026

Copy link
Copy Markdown
Owner

drop `TheHans255/apple-ii-port-work`
@kassane kassane added the fix fixing bugs label Oct 4, 2026
…td.log

Debug link failed twice: `ld.lld: unable to lower stackguard`, then
`LLVM ERROR: ... @llvm.returnaddress`. zig enables the stack protector in
safe modes when link_libc is set; MOS implements neither getSDagStackGuard
nor @returnaddress(). Both off, so Debug keeps its safety checks instead of
flooring to ReleaseSmall the way mega65/picolibc do.

hello.zig now uses std.log/std_options: logFn formats with
std.fmt.comptimePrint and hands the line to std.c.printf. getchar is gone
because Aro can't translate stdio.h (va_list lowers to void); the example
idles after printing, like c64/c128 hello.

`zig build --summary all` 707/707. mii_emu shows "hello, apple ii".
@kassane
kassane merged commit 3d9e82b into main Oct 4, 2026
7 checks passed
@kassane
kassane deleted the apple-II-PRODOS-support branch October 4, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix fixing bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Apple II - need improvements

1 participant