Search found 6 matches
- Thu Oct 26, 2023 4:26 pm
- Forum: Programming
- Topic: Using bitmap mode from C
- Replies: 11
- Views: 5679
Re: Using bitmap mode from C
I am searching for an example to understand better how I use the bitmap mode in C (or maybe Assembler). Ultimately, I'm wondering how to initialize this VERA mode and how I set after a pixel in a specific color. It would be great if someone could give me a headstart. Thanks a lot. , Yes, thank you,...
- Thu Oct 26, 2023 12:47 pm
- Forum: Programming
- Topic: Using bitmap mode from C
- Replies: 11
- Views: 5679
Re: Using bitmap mode from C
After researching some code, I have at least a base to draw pixels that work roughly lol: I started understanding how all works together, but there is still a long way to go. The next step is to port my game code and see how it works using that SET_PIXEL() function. After I try to improve all and ma...
- Thu Oct 26, 2023 10:08 am
- Forum: Programming
- Topic: Using bitmap mode from C
- Replies: 11
- Views: 5679
Re: Using bitmap mode from C
The "problem" is that the existing C examples show nicely how to use the bitmap buffer in a sequential order. They set the address and increment at the beginning and then send data to VERA.data0, filling the bitmap pixel by pixel. For a proper plot() and line() function, you must change th...
- Thu Oct 26, 2023 7:37 am
- Forum: Programming
- Topic: Using bitmap mode from C
- Replies: 11
- Views: 5679
Re: Using bitmap mode from C
Thank you very much for your answer. I understand the concept now, and I am figuring out how to implement what I want to see if it's performant enough. My first try is by using vpoke() now, and it's pretty promising, but I will see. Maybe also a good time to consider (re-)learning 6502 assembler ;) ...
- Wed Oct 25, 2023 8:18 pm
- Forum: Programming
- Topic: Using bitmap mode from C
- Replies: 11
- Views: 5679
Re: Using bitmap mode from C
I have found out in the meantime how the bitmap mode works using VERA mode, but it's probably not the right way because, as far as I understand, I can send the data in sequential order, which is not the right approach for what I want to do. Not yet sure ... Thanks for pointing me to the possibility ...
- Wed Oct 25, 2023 5:37 pm
- Forum: Programming
- Topic: Using bitmap mode from C
- Replies: 11
- Views: 5679
Using bitmap mode from C
I am searching for an example to understand better how I use the bitmap mode in C (or maybe Assembler).
Ultimately, I'm wondering how to initialize this VERA mode and how I set after a pixel in a specific color.
It would be great if someone could give me a headstart. Thanks a lot.
Ultimately, I'm wondering how to initialize this VERA mode and how I set after a pixel in a specific color.
It would be great if someone could give me a headstart. Thanks a lot.