Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Blog: All Border Double DYPP
2022-03-15 13:38
Raistlin

Registered: Mar 2007
Posts: 680
Blog: All Border Double DYPP

So.. a few people had asked me about how I created certain effects.. I love blogging about code (I do this for my game-dev work, for example, and have done on-and-off for 10 years)... so...

https://c64demo.com/?p=19

The website needs a LOT of work, I know .. but for now it gives me a sandbed to upload these texts to.

Please let me know if you spot any mistakes, if you think I've overlooked explaining anything important, if you think I'm stupid and missed some obvious optimisation, etc...

Cheers!
 
... 51 posts hidden. Click here to view all posts....
 
2022-03-21 15:21
Danzig

Registered: Jun 2002
Posts: 440
Quote: Perplex, that's what swap disks are for!

runs


You could just run the code-generator in the disk drive, best of both worlds ;-) no need to swap floppy disks.
2022-03-21 15:21
chatGPZ

Registered: Dec 2001
Posts: 11386
Yeah, you have 3 Disks, use them!
2022-03-21 15:53
Raistlin

Registered: Mar 2007
Posts: 680
@Groepaz.. you guys convinced me. As soon as VICE is a 141k install, and uses codegen to create the rest of the emulator, I'll recode my parts on Memento Mori to squeeze it onto 2 disk sides.

141mb is just a little bit too large for a C64 emulator :-p
2022-03-21 15:54
chatGPZ

Registered: Dec 2001
Posts: 11386
just use Frodo!
2022-03-21 16:04
Raistlin

Registered: Mar 2007
Posts: 680
Quote: just use Frodo!

Trololol :-)
2022-03-21 19:53
Copyfault

Registered: Dec 2001
Posts: 478
Funny to read through this and find yourself pondering wether streaming code-blocks from disc is close to cheating... where there's absolutely no reason to feel so if you ask me. If one finds the challenge attractive to mock up that increadible codegen on C64, it's great. If someone has brilliant ideas to bomb me with effects by the beforementioned code-streaming - fine!

But what do I know... one thing that was not mentioned up to now is that with more disc sides, there usually *are* more turn-disc-parts - and having some of the recent gems in mind, I'd really miss some of them if they hadn't been done!

So, a plus for the disc-sides-to-the-max-approach :)
2022-03-21 20:02
Krill

Registered: Apr 2002
Posts: 2980
Quoting Copyfault
Funny to read through this and find yourself pondering wether streaming code-blocks from disc is close to cheating... where there's absolutely no reason to feel so if you ask me.
Well yes, still you're the first to suggest it could be cheating. =)
2022-03-21 20:33
Copyfault

Registered: Dec 2001
Posts: 478
Quoting Krill
Quoting Copyfault
Funny to read through this and find yourself pondering wether streaming code-blocks from disc is close to cheating... where there's absolutely no reason to feel so if you ask me.
Well yes, still you're the first to suggest it could be cheating. =)
That's correct - but believe me, I do not at all think it is! Reading the thread just made me feel so...
2022-03-22 21:04
Raistlin

Registered: Mar 2007
Posts: 680
Sorry… I did another blog. https://c64demo.com/?p=196

@Krill: thanks for your suggestion on splitting the ASM (nuclear compression?). We’re trying it and it -might- work :-)
2022-03-22 21:13
Krill

Registered: Apr 2002
Posts: 2980
Quoting Raistlin
@Krill: thanks for your suggestion on splitting the ASM (nuclear compression?). We’re trying it and it -might- work :-)
Worked for me. :) IIRC, saved about 100 bytes in Artefacts even after the static overhead for recombining the two streams after decrunching. So of course, quicker amortisation and more payoff for bigger code than for just a 4K.

There are some rather funky new rules for optimisation, though, like favouring LDA #0 : LDY #0 over LDA #0 : TAY, but then of course this isn't much of an issue for your use-case where the decrunched unrolled code has more important constraints to satisfy.
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Raf/Vulture Design
Martinland
Bob/Censor Design
Impetigo/Crescent
zscs
/Panor..
rtiainen
Knight Rider/TREX
Airwolf/F4CG
Guests online: 95
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.6)
4 Mojo  (9.6)
5 Edge of Disgrace  (9.6)
6 The Demo Coder  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Party Elk 2  (9.6)
4 Cubic Dream  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 Fungus  (9.8)
5 S!R  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.059 sec.