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
[bug][zx81][wrx] When compiling for zx81 with wrx I now get undefined symbol: hrg_phase
#2529
Comments
@zx70 is doing some fairly major tweaks on the zx81 video at the moment, so this is probably a fallout from that. |
Right. Hopefully the latest snapshot altready includes a fix for it, please let me know. |
Hi @zx70, I could get one of my games to work. Have you improved the performance of the WRX driver? |
there's little space for speed improvements on the driver itself. I can say that the 64 rows mode is faster and that hrg_blank() will make the programs run faster when the display is blanked. |
I am not aware of UDG for the ZX81. That is what I need. Hopefully they are faster than sprites. Is the arx driver meant for a more exotic hardware? How can I use clga()? |
I was going to integrate my answer, the zx81 had several video modifications to extend its capabilities. The WRX mode is different, it uses ram areas in different positions which couldn't be used in text mode. Other historical graphics extensions were the Memotech HRG, the G007 and few other rare and expensive interfaces. In graphics mode you can speed up the sprites by
void clga(int tlx, int tly, int width, int height) |
I noticed that the optimized clga() could be extended to some more target with 'narrow' HRG graphics. You can test the code on your favourite target yourself, you need to spot the right 'lst' file (something like 'libsrc/target/mc1000/mc1000.lst'), alter it and rebuild the target library.
alter it by inserting the reference to the alternative code BEFORE the gfx list inclusion:
Then, move into {z88dk}/libsrc and use make to rebuild the specific target libraries and move the resulting lib files into {z88dk}/lib/clibs Do not try it on low resolution targets (like the Mattel Aquarius), it won't work. EDIT: nor it will work on the MSX/SVI VDP, but I'm on it `
; --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ` |
When I try to build any of my Cross-Lib for the zx81 target with wrx I now get these errors
This can be reproduced with Cross-Lib by running
xl bomber zx81_wrx
More details here:
The text was updated successfully, but these errors were encountered: