Repository navigation
Conversation
…the correct approach.
- In `loc loe dvi`, pass the global divisor in `ARTH` and the constant dividend in AccAB. - In `loe dvi`, load the global divisor by its absolute address. - The `intdiv` test now passes on emu6800.
…tream # Conflicts: # lang/cem/libcc.ansi/core/printf/doprnt.c # tests/plat/core/cii,e,.e
- EM sets are made of words. See doc/em/types.nr (Bit sets). - To pick the right byte in a word, flip bit 0 of the byte offset before adding the set's base address. - Inn used to flip bit 0 of the final address, which gave the wrong result at odd addresses.
- Add the missing Set routine so the Pascal set test can link. - Replace LOC n followed by SET 2 with LOC (1 << n) for n from 0 to 15.
- Cmi2 reported 1 < 2 as false and 2 < 1 as true. - This broke andbool, which uses the result of < as a value.
- SIG wrote the old trap handler address into the caller's stack frame. This made Pascal programs crash at startup. - Return the old handler address in AccAB.
- RCK used to skip the range check. - If a value is out of range, RCK raises a trap unless it is masked. The handler can use RTT to continue after the check.
- The code did not write the result to the stack.
- ZER 32 should push 32 zero bytes. - The old code read the count from address 32 by mistake.
- For y * 0xFFFF, the old code read from address 0xFFFF by mistake.
- The old code used shifts (not rotate) by mistake.
- By mistake, CMS only worked with 2 or 4 bytes when the size was fixed.
- NestProc test failed to link.
- SDF did not add the offset to the pointer.
- add missing tsx
- e6800 has no gettimeofday().
- For *p1 = q, sil 10 wrote q to p1 by mistake.
This branch has not been deployed
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.
This PR follows up on #355.
I fixed several bugs in the MC6800 backend from #354.
Set100 and SemaTest now pass.
I added the e6800 platform to test MC6800 programs on emu6800.
I ran 54 ACK tests on emu6800. All 54 passed.