Search found 249 matches

by kliepatsch
Mon Aug 12, 2024 6:07 pm
Forum: Programming
Topic: Concerto Dev Log
Replies: 39
Views: 14562

Re: Concerto Dev Log

For completeness' sake, I'm going to post this here, as I posted it on the discord, as well.
A minimal effort demo showcasing the current status
https://youtu.be/GyfnLRouNjs?si=hzoYZjoa_eHdo-Kq
by kliepatsch
Fri Aug 09, 2024 6:45 pm
Forum: Programming
Topic: Ideas for 1st person Minecraft-like
Replies: 12
Views: 2492

Re: Ideas for 1st person Minecraft-like

Simplifications by restricting camera to 90 degree angles Coming back to why restricting the camera to 90 degree angles is so good. As I mentioned, all the faces of the blocks facing towards camera are part of a perfectly square lattice. That means that if I hop a vertex to the right on my lattice,...
by kliepatsch
Fri Aug 09, 2024 5:09 pm
Forum: Programming
Topic: Ideas for 1st person Minecraft-like
Replies: 12
Views: 2492

Re: Ideas for 1st person Minecraft-like

I've been working on a 3d first person shooter as well (on the back burner while I rewrite the META/L editor). My advice is to do as much precalculation as possible, and as few calculations at runtime as possible. For instance, I have 8 banks set aside for a single lookup table to convert a 16 bit ...
by kliepatsch
Fri Aug 09, 2024 4:56 pm
Forum: Programming
Topic: Ideas for 1st person Minecraft-like
Replies: 12
Views: 2492

Re: Ideas for 1st person Minecraft-like

Start REAL easy. You can only move one block at a time and you can only turn 90 degrees. I like that approach. I think this allows for some significant simplifications, mostly because the front facing sides of each "layer" of blocks form a perfect square lattice (layer being all the block...
by kliepatsch
Mon Aug 05, 2024 6:34 pm
Forum: Programming
Topic: Ideas for 1st person Minecraft-like
Replies: 12
Views: 2492

Ideas for 1st person Minecraft-like

The video about 8-bit blocks made me think ... I like the idea, but you know, the isometric view only really works as long as you are on the surface. As soon as you go underground, you have absolutely no idea what is happening anymore. So I started thinking about whether it is possible to create a 1...
by kliepatsch
Sun Aug 04, 2024 7:31 am
Forum: Programming
Topic: How to implement bareback interrupts?
Replies: 18
Views: 3023

Re: How to implement bareback interrupts?

Ah yes, good find Stefan. Didn't see your posts before posting mine
by kliepatsch
Sun Aug 04, 2024 6:02 am
Forum: Programming
Topic: How to implement bareback interrupts?
Replies: 18
Views: 3023

Re: How to implement bareback interrupts?

This is starting to smell like a bug in the emulator. Maybe the fact that a cartridge is inserted changes its behavior? I think that ISR with a cartridge has so far been rather niche and maybe not been tested very well. Edit: from skimming through the emulator source I can't find anything suspicious...
by kliepatsch
Sat Aug 03, 2024 3:54 pm
Forum: Programming
Topic: How to implement bareback interrupts?
Replies: 18
Views: 3023

Re: How to implement bareback interrupts?

Have you checked if the interrupt flag is set? I think I know now what is meant by "disabled interrupts", it basically means that the interrupt flag is set (can be undone with CLI). Might this be the issue why no interrupts are triggered? As you can see in the Kernal code , it looks like p...
by kliepatsch
Sat Aug 03, 2024 3:38 pm
Forum: Programming
Topic: How to implement bareback interrupts?
Replies: 18
Views: 3023

Re: How to implement bareback interrupts?

No idea, to be honest. From reading the docs , I would have expected that as soon as control is handed to the code in cartridge ROM, the Kernal has finished hardware initialization and the main difference to running code from RAM is that the VERA interrupts are disabled (though it isn't specified wh...
by kliepatsch
Fri Aug 02, 2024 6:01 am
Forum: Programming
Topic: How to implement bareback interrupts?
Replies: 18
Views: 3023

Re: How to implement bareback interrupts?

Yes, that looks about right. The Kernal's ISR backs up the processor registers before it calls the function at the IRQ vector. If you return yourself you have to undo that. If you chain the old ISR, then it will take care of that.