Conversation
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.
Should speed up VGA display output by quite a bit on real hardware. After (re)writing an AS86 assembly VGA driver for the 8086-toolchain in ghaerr/8086-toolchain#46, I noticed quite a few speed improvements that could be made to the C driver currently used in Nano-X.
The enhancements to the C vgaplan4.c driver include:
@tyama501, I would be interested to know whether this speeds Nano-X up much on PC-98. In particular, large rectangle fills or screen clears should be much faster. (I am working next on getting UNIX sockets working on FAT filesystem).
The screen driver could probably be sped up even more by moving to a GCC assembly language version. I haven't done this yet, as that entails rewriting (again) the new C86 vga-4bp.s driver from Intel AS86 format to AT&T GCC format.