Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VGA graphical text mode #1123

Merged
merged 38 commits into from
Oct 7, 2024
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
b1766c6
Revert "Add VGA graphical text mode"
chschnell Sep 22, 2024
6152b74
started 2nd iteration of graphical text mode
chschnell Sep 22, 2024
404c3f7
fixed eslint complaints
chschnell Sep 22, 2024
02de981
include changes to main.js and cpu.js from f92e6b4, fix eslint error
chschnell Sep 22, 2024
8798246
added new methods in ScreenAdapter to DummyScreenAdapter
chschnell Sep 22, 2024
6dec4bd
include changes to starter.js from f92e6b4
chschnell Sep 22, 2024
91efd19
changed text attribute BLINKING to FLAGS, introduced flags for BLINKI…
chschnell Sep 22, 2024
93ef88a
added support for cursor and blinking, made ScreenAdapter.FLAGS_* vis…
chschnell Sep 23, 2024
d15c827
Variuos improvements and fixes.
chschnell Sep 23, 2024
8217ca1
fixed issues detected by eslint
chschnell Sep 23, 2024
6d74ee0
fixed classical text mode
chschnell Sep 23, 2024
47d8d02
optimization: do not copy buffer to canvas when it's unmodified
chschnell Sep 23, 2024
f724857
invalidate all text rows when entering graphical text mode
chschnell Sep 23, 2024
ee5b95c
Made sure that complete_redraw() is called whenever the state that pu…
chschnell Sep 26, 2024
8a59102
removed leftover comment
chschnell Sep 27, 2024
cef6e84
Merge branch 'copy:master' into master
chschnell Sep 27, 2024
4445c3c
added new VGAScreen state variable font_page_ab_enabled to state[]
chschnell Sep 27, 2024
e290f00
render internal font less often but more aggressively
chschnell Sep 27, 2024
7cb49fc
fixed bug in ScreenAdapter.set_font_bitmap()
chschnell Sep 27, 2024
d543b1c
refactored ScreenAdapter
chschnell Sep 28, 2024
f949166
fixed bug in restoring state of graphical text: font_page was missing
chschnell Sep 28, 2024
1066f26
Merge branch 'copy:master' into master
chschnell Oct 1, 2024
861dfb4
restored accidentally lost cleanup code from commit f92e6b4
chschnell Oct 3, 2024
ff632a0
narrowed scope of some variables
chschnell Oct 3, 2024
d35da67
removed obsolete compatibility attributes from graphic_context
chschnell Oct 3, 2024
48b9975
removed redundant initialization call to ScreenAdapter.set_mode()
chschnell Oct 3, 2024
9f2d029
allow overriding private member charmap[] to support external codepag…
chschnell Oct 3, 2024
e58e02b
merged grab_text_content() into get_text_row()/get_text_screen()
chschnell Oct 3, 2024
0e76c0f
removed comment as suggested
chschnell Oct 3, 2024
ea2119f
replaced boolean options.disable_autoscale with number options.scale
chschnell Oct 3, 2024
403d5e5
changed render_font_bitmap() to return void, reduced reallocation of …
chschnell Oct 3, 2024
26939fd
added guard to ensure that set_font_bitmap() is only called in text mode
chschnell Oct 5, 2024
fcb634b
changed text rendering method to glyph-blitting using canvas.drawImage()
chschnell Oct 5, 2024
11cf1c8
improved cursor rendering
chschnell Oct 5, 2024
4681e94
improved foreground color handling
chschnell Oct 5, 2024
8bcf116
minor changes
chschnell Oct 5, 2024
4e91d37
improved rendering of invisible glyphs
chschnell Oct 5, 2024
308be89
improved vga bit handling readabilty
chschnell Oct 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'copy:master' into master
  • Loading branch information
chschnell authored Oct 1, 2024
commit 1066f267634b73fb49f4a4d1df251b65c6f396fd

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.