Search found 194 matches

by MrSterlingBS
Tue Feb 13, 2024 7:11 am
Forum: Programming
Topic: Line drawing algorithm
Replies: 20
Views: 5377

Line drawing algorithm

Hi,

during my search of the best line algorithm i found this website.

Code: Select all

http://www.quiss.org/boo/
by MrSterlingBS
Mon Feb 12, 2024 2:19 am
Forum: Programming
Topic: Line drawing algorithm
Replies: 20
Views: 5377

Re: Line drawing algorithm

Hi Mike,

of course, you are right. Thanks for the tip.
by MrSterlingBS
Sun Feb 11, 2024 12:20 pm
Forum: Programming
Topic: Line drawing algorithm
Replies: 20
Views: 5377

Re: Line drawing algorithm

I use the line routine from Bitbreaker from codebase64. https://codebase64.org/doku.php?id=base:bresenham_s_line_algorithm_2 The results are very good. Line x0,y0 to x1,y1 Cycles in total xxxx per pixel yy 00,00 to 99,00 5219 per pixel 52 00,00 to 00,99 5219 per pixel 52 00,00 to 99,99 5516 per pixe...
by MrSterlingBS
Fri Feb 09, 2024 7:25 am
Forum: Programming
Topic: Line drawing algorithm
Replies: 20
Views: 5377

Line drawing algorithm

Dear all, Do any of you have a very quick line drawing algorithm that you can share here? The one I'm currently using is from the site https://retro64.altervista.org/blog/category/programming/ and probably not the fastest. I would be very grateful for suggestions, tips and of course complete code. W...
by MrSterlingBS
Fri Feb 09, 2024 7:20 am
Forum: Programming
Topic: "Ultimate Expansion" - new firmware for FE3
Replies: 59
Views: 14506

Re: "Ultimate Expansion" - new firmware for FE3

Yes, I mean some screensavers can be implemented with the F2 key. But this is only a gimmick.
The IRQ clock, i mean could be placed under the normal screen. And of course with an alarm set and alarm tone.
Even just a wish. But then the FE3 would be perfect.
Or what is the RTC for?

BR
Sven
by MrSterlingBS
Fri Feb 09, 2024 7:16 am
Forum: Programming
Topic: Double buffering screen bitmap
Replies: 22
Views: 9013

Re: Double buffering screen bitmap

Thanks a lot for the answers. I have one "trick" to save six bytes and eight cycles! lda value1 ; for $1800 ; eor #%00000010 sta $9005 ;here $1800 jsr clr_speedcode ;$1000 jsr render_scene lda #154 jsr vsync lda value2 ; for $1000 ; eor #%00000010 sta $9005 ;here $1000
by MrSterlingBS
Sat Feb 03, 2024 12:19 pm
Forum: Programming
Topic: ROM calls and other tricks
Replies: 33
Views: 70892

Re: ROM calls and other tricks

Sometimes I used

STY $ZP
… some code
LDY $ZP

instead of
TYA
PHA
… some code
PLA
TAY

A little bit faster and shorter code if you have some ZP registers free.
by MrSterlingBS
Wed Jan 31, 2024 1:05 pm
Forum: Programming
Topic: "Ultimate Expansion" - new firmware for FE3
Replies: 59
Views: 14506

Re: "Ultimate Expansion" - new firmware for FE3

I've found my FE3 to be a versatile cartridge, once I worked out its features. There were a couple of enhancements I wanted it to have so I took a look at the source code and, before I knew it, I'd ended up re-writing the firmware. In my hubris I've named this "Ultimate Expansion", I like...
by MrSterlingBS
Wed Jan 31, 2024 2:49 am
Forum: Programming
Topic: "Ultimate Expansion" - new firmware for FE3
Replies: 59
Views: 14506

Re: "Ultimate Expansion" - new firmware for FE3

Dear Mike,

thanks a lot for your answer.

I had thought that the reset write protection only counts for the storage function itself and not for the software version updates.

Learned something again. Asking helps. ;-)

BR
Sven
by MrSterlingBS
Tue Jan 30, 2024 2:41 am
Forum: Programming
Topic: "Ultimate Expansion" - new firmware for FE3
Replies: 59
Views: 14506

Re: "Ultimate Expansion" - new firmware for FE3

Hello, i have the FE3 as an .prg file from the BADAPPLE demo with rev020. After flasing the FE3 to version rev022 everything works fine. But after a new start of the VICE the flashed FE3 is with rev020. That is clear for me. I do not save the .prg file. But how can i save the flashed FE3 to an .prg ...
by MrSterlingBS
Tue Jan 30, 2024 1:45 am
Forum: Programming
Topic: Recommendations for VIC-20 assembly tutorial, tools
Replies: 10
Views: 2202

Re: Recommendations for VIC-20 assembly tutorial, tools

Hello, For me, the tools from chibi have established themselves. There I can then switch very quickly either to a program from disk or tape or to a module. Of course, this is only possible in conjunction with the VICE emulator. If you have any questions about usage, I'm happy to help. Best regards S...
by MrSterlingBS
Sun Dec 31, 2023 2:40 pm
Forum: Programming
Topic: HAPPY NEW YEAR 2024
Replies: 14
Views: 3251

Re: HAPPY NEW YEAR 2024

What memory and machine settings should be used? Could you look over the program again? It shows some errors, with @-characters. The demo runs fine here. As had always been the case, programs using MINIGRAFIK need at least a +8K RAM expansion. Sven, I strongly suggest you mention the RAM requiremen...
by MrSterlingBS
Sun Dec 31, 2023 2:38 pm
Forum: Programming
Topic: HAPPY NEW YEAR 2024
Replies: 14
Views: 3251

Re: HAPPY NEW YEAR 2024

I wish all members of the Denial Forum a Happy New Year 2024. Attached a small MG Demo... Because of the small speed of BASIC you should switch on the VICE emulator to maximum speed. Best regards Sven New Disk.zip Could you look over the program again? It shows some errors, with @-characters. First...
by MrSterlingBS
Sun Dec 31, 2023 9:12 am
Forum: Programming
Topic: HAPPY NEW YEAR 2024
Replies: 14
Views: 3251

HAPPY NEW YEAR 2024

I wish all members of the Denial Forum a Happy New Year 2024.

Attached a small MG Demo...
Because of the small speed of BASIC you should switch on the VICE emulator to maximum speed.

Best regards
Sven
New Disk.zip
(1.94 KiB) Downloaded 81 times