Repository navigation
OS content from TuKo1982's 68080 optimisation guide - #12
Merged
Merged
Conversation
Split section 13 (AmigaOS notes), 8.2 item 10 (ramlib) and section 15 (maggie.library usage) of the guide into os/: maggie.library reference, its side effects on the calling task, run-time 68080/FPU detection, and pitfalls for stack patches, shared library globals, V4 ROM modules and soft resets, and ramlib. Point to them from the OS overview file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Third content PR from TuKo1982's "68080 compilation and optimisation guide". It covers section 13 (AmigaOS notes), section 8.2 item 10 (ramlib) and section 15 (maggie.library usage). New files:
owner: TuKo1982,origin: ai-assisted,status: draft.New files
os/libraries/maggie-library.md:os/pitfalls/maggie-library-side-effects.md, what a call does to your task:hasMaggiehard-wired to 1;os/best-practices/detect-68080-and-fpu-at-run-time.md: AttnFlags bit 10, and the FPU flag checked at run time ($847f/$040f).os/pitfalls/stack-patches-hide-small-stack-bugs.mdos/pitfalls/library-globals-shared-between-tasks.mdos/pitfalls/v4-rom-modules-and-reset.md:avail flushwith ROM audio.device 37.10.os/pitfalls/ramlib-reuses-library-by-name.mdUpdated files
os/apolloos-and-amigaos-on-v4.md: pointers to these files under "Detecting Apollo V4 hardware", "Using SAGA features" and a new "Known traps" section. WDrijver's own notes for this file are still to come.core/saga-3d-maggie/index.md: links to the library file.For the reviewers
applies_to.osis[amigaos-3.9]for the maggie.library files, because that's what was tested. Is the library also used on ApolloOS R10 or AmigaOS 3.2?conventions/, so I suggest a separate file there.$DFF1F4mode,$DFF1ECframe pointer, read back at$DFE1F4/$DFE1EC, modes$0B02/$0B05) is in the library file as "as the samples do". It belongs incore/saga-video-isabelle/registers.mdonce that file exists.Knowledge base files relied on
core/saga-3d-maggie/registers.md,core/cpu-68080/bank-prefix.md,core/pitfalls/fpu-float-to-integer-conversion.md🤖 Generated with Claude Code