Commit 90db64d
committed
MEGA65: preliminary VIC4 CHARY16 (TCR) impl. #424
CHARY16 (or TCR meaning Tall ChaRacter) is a (so far relatively unknown)
mega65-core feature has become popular recently :)
It works, by fetching glyph information shifted by 2048 at every second
raster in V200 mode instead of the same. So it needs a special layout for
the chargen info if the mode is enabled (bit 4 of $D07A):
GS $D07A.4 VIC-IV:CHARY16 Alternate char ROM bank on alternate raster lines in V200
This is a bit problematic for Xemu, as it has an (otherwise not so correct)
infrastructure that in V200 it renders only every second line and basically
"clone" the previous one. This must be changed at some point for sure, but
now, probably an ugly hack will be done, to take an exception of that rule
if this mode is enabled.
**THIS IS AN UGLY HACK** Probably the longer term solution would be to
render all scanlines in all modes, this is already a problem in other
contexts as well!1 parent 9cc69c3 commit 90db64d
1 file changed
+19
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
186 | 187 | | |
187 | 188 | | |
188 | 189 | | |
| 190 | + | |
189 | 191 | | |
190 | 192 | | |
191 | 193 | | |
| |||
1417 | 1419 | | |
1418 | 1420 | | |
1419 | 1421 | | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
1420 | 1430 | | |
1421 | 1431 | | |
1422 | 1432 | | |
| |||
1573 | 1583 | | |
1574 | 1584 | | |
1575 | 1585 | | |
1576 | | - | |
1577 | | - | |
1578 | | - | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
1579 | 1591 | | |
1580 | 1592 | | |
1581 | 1593 | | |
| |||
1591 | 1603 | | |
1592 | 1604 | | |
1593 | 1605 | | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
1594 | 1609 | | |
1595 | 1610 | | |
1596 | 1611 | | |
1597 | | - | |
| 1612 | + | |
1598 | 1613 | | |
1599 | 1614 | | |
1600 | 1615 | | |
| |||
0 commit comments