Comments (2)
I tested this following the repro steps above and I can repro it only with the GL renderer on. With the GL renderer off, it looks fine:
Looking at the margins for text mode in the original report, it looks like text mode is actually not centered, but about 1/2 a character off. Measuring the image as best I can on the top scan line:
- Left edge to DHGR start: 82 - 24 = 58 px
- Left edge to text start: 94 - 24 = 70 px
- Right edge to text end: 1206 - 1138 = 68 px
Looking at gl.ts
, I think the discrepancy comes from how putImageData
is called. At line 783, the x, y
is set for the first pixel of the screen based on the mode. NTSC_DETAILS
comes from line 471 of screenEmu.js
.
It looks like the easy fix is just to erase everything before calling putImageData
.
from apple2js.
The one 80 column row difference between 80 column and 40 column mode is present in real hardware, so apple2shader is attempting to replicate that, but it's oblivious to transitions between the two. Clearing the image buffer when that transition happens should be sufficient.
from apple2js.
Related Issues (20)
- CATALOG Bug on Floppy Disk HOT 5
- Apple II DeskTop's triggering DHR Mono mode fails HOT 2
- State saving and recovery is not good when using a smart drive HOT 4
- Mocking board emulation
- ThunderClock is not interrupting. HOT 2
- Option to slow acceleration during audio playback HOT 3
- Loading a disk into Drive 2 reloads the disk from Drive 1 HOT 1
- how to exit fullscreen HOT 10
- Saving self-written program to file/localStorage? HOT 3
- Disabling Mouse Joystick HOT 1
- Better Rendering HOT 2
- Virtual keyboard issue on Android hosted Chrome
- Issue in bank 1 writing HOT 3
- Merlin need Apple 2c or 2e-128 HOT 1
- Is there documentation, or a changelog, besides the commit comments?
- a bit more explanation on creating a static distribution
- Save state, load no more?
- README says sit instead of git
- Memory size? HOT 3
- Apple IIgs support? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apple2js.