Comments (8)
Yes, that's right, it was easiest to take the attribute value from there.
It should affect all graphics functions yes.
from z88dk.
I managed to refresh w_line_r to use a single index register, apparently it is the only function using IY (-ixiy eventually does the swap).
I'm saving the value in the bss_graphics section, I think it is correct ?
This probably fixes also new the ZX81 library in 384 rows mode.
from z88dk.
Yeah bss_graphics is the right section since it'll be shunted up high as necessary for some targets.
I thought +kc was using the compiled C implementation of the drawing primitives to avoid the index register issues.
from z88dk.
I thought +kc was using the compiled C implementation of the drawing primitives to avoid the index register issues.
It was doing it in most of the cases, but the stencil part calls w_line_* directly and skips the portable primitives.
For what I could see we had only one file in the 'wide' folder dealing with IY, I thought it was worth to changing it.
from z88dk.
It was doing it in most of the cases, but the stencil part calls w_line_* directly and skips the portable primitives.
Ah.....I missed that path.
from z88dk.
The new wide-rez optimized code fits perfectly on the Microbee :)
I know I'm ignoring the color attributes topic but they'd be too many changes at once for me.
I could restore the original library on the KC85, I think the only IY dependent routines were the line and perhaps the circle drawing ones.
from z88dk.
The new clga() etc optimized code runs very well on the Microbee.
w_stencil_render can be probably replaced with the new one, it contains unfinished opts:
(w_pixeladdress is what the memory banking mess just above is trying to avoid).
EDIT: the new w_stencil_render is not enough generic to work in this configuration, this thing must stay. It performs well by the way.
from z88dk.
@suborb , I have a question regarding the colour attributes. If Inunderstood correctly they are inherited by the graphics from the same value of foreground+background used in the console text, right?
supposing it affect plot() it should be applied to all the graphics functions, like putsprite() is it correct?
from z88dk.
Related Issues (20)
- [feature] Support for Olivetti m10 (clone of m100) HOT 22
- (z80asm) Compile issue on msys2
- ASSERT on Z80asm HOT 2
- Compile error today (worked yesterday) HOT 1
- MacOS - zsdcc binary is r14210 HOT 3
- appmake +zx colliding with binaries of previous builds HOT 3
- TMS9918 graphics improvements HOT 6
- [question][ti] What is the meaning of "Warning: Use of numbers in the variable name is not certain to work on all calculators!" ? HOT 2
- (sccz80) Support static __far data
- [zx81][feature] WRX96 and/or WRX128 with centered display? HOT 1
- sccz80 - lhs constant comparison HOT 6
- 8085 - l_eq l_ne operator optimisation HOT 5
- Unexpected z80asm macro formal parameter behavior? HOT 3
- 8085 - am9511 - comparative l_f32_ge HOT 6
- 4 bit audio player for the PSG
- Missing makefile.msd in msx examples HOT 1
- New MSX config for plain "bin" file. HOT 1
- How is ADD DE, buffer assembled? HOT 3
- macOS - zcc being flagged for virus HOT 4
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 z88dk.