Search found 54 matches

by cosmicr
Mon Apr 28, 2025 4:39 am
Forum: Programming
Topic: How To Multiply A Single Value With Vera FX
Replies: 2
Views: 303

Re: How To Multiply A Single Value With Vera FX

Here's my implementation from my Another World port: .macro mulx_addr addra, addrb .scope ; Save original cache values lda FX_CACHE_L pha lda FX_CACHE_M pha lda FX_CACHE_H pha lda FX_CACHE_U pha ; DCSEL = 2 for FX control registers lda #(2 << 1) sta VERA::CTRL ; Clear FX control and enable multiplie...
by cosmicr
Mon Apr 28, 2025 2:40 am
Forum: Works In-Progress Discussion
Topic: Another World (Out of this World) port for the CX16
Replies: 23
Views: 35487

Re: Another World (Out of this World) port for the CX16

I'm still at it - I reduced the game to 256x192. Took a fair bit of changes to the code, but made things about 20% faster. I implemented a frame wait/sync so the game runs capped at a max of 30fps where possible, otherwise, as fast as it can. Most of the time it hits the frame rate target. I wish I ...
by cosmicr
Thu Apr 17, 2025 12:00 am
Forum: Libraries and Examples
Topic: Convert 16-bit address to banked ram address (and back)
Replies: 2
Views: 986

Re: Convert 16-bit address to banked ram address (and back)

very cool, I'll have to take some time to understand it. I wrote a similar routine for my AGI Interpreter, which needed to address memory up to 20-bits (1MB): ; uses A, X, Y as 20-bit address into banked ram .macro calc_bank_addr sta bank_temp ; Store low byte of target address ; Calculate bank numb...
by cosmicr
Wed Mar 19, 2025 11:56 pm
Forum: Libraries and Examples
Topic: Timing how long something takes
Replies: 13
Views: 22289

Re: Timing how long something takes

doslogo wrote: Wed Mar 19, 2025 10:26 pm So how do one stop the timer so the full 16-bit value can be read?
Did you use SEI before getting the values? If I understand correctly, you need to use SEI before, and CLI afterwards.
by cosmicr
Wed Mar 19, 2025 5:48 am
Forum: CX16 General Chat
Topic: FAQ Update for Gen-2 aka "CX16GS" system
Replies: 71
Views: 58368

Re: FAQ Update for Gen-2 aka "CX16GS" system

My 2c on the "yet another system" problem (I say this as someone who genuinely wants the CX16 to succeed...): The Commander X16's only "marketing" so to speak was through the 8-bit guy's Youtube channel. David appears to have lost interest in promoting it what with the arcade and...
by cosmicr
Tue Mar 11, 2025 5:41 am
Forum: X16 Software Support
Topic: PC/MS DOS emulator?
Replies: 23
Views: 39963

Re: PC/MS DOS emulator?

This guy got Linux (sort of) running on an NES:
https://www.youtube.com/watch?v=OooHTDMUSGY
by cosmicr
Tue Mar 11, 2025 5:38 am
Forum: Works In-Progress Discussion
Topic: AGI Interpreter February 2025 Update
Replies: 14
Views: 24678

Re: AGI Interpreter February 2025 Update

The DOS and Tandy versions of AGI games are the same files (that's the whole point of an interpreter lol) except for very early versions of Kings Quest. For the DOS interpreter it just plays the first voice in the sound file. I got 3 voice sound working on the PSG. I wrote a player for AGI sounds. I...
by cosmicr
Fri Mar 07, 2025 11:36 pm
Forum: Works In-Progress Discussion
Topic: AGI Interpreter February 2025 Update
Replies: 14
Views: 24678

Re: AGI Interpreter February 2025 Update

Thanks for the update, and the screen shots - the fairy, troll, and the well!!! Good memories. Still, I want to HEAR this game, someday ^.^ (oh, we can dual X16 it, use serial card to cue another X16 to play the audio with a few command bytes :P ) The PSG is perfect for playing AGI sounds - I got i...
by cosmicr
Mon Feb 24, 2025 7:25 am
Forum: Works In-Progress Discussion
Topic: Another World (Out of this World) port for the CX16
Replies: 23
Views: 35487

Re: Another World (Out of this World) port for the CX16

Hi Everyone another update for those following along. I tried implementing the pseudo 4-channel mixing method for pcm audio (play 4x 11025hz samples at 44100hz). Unfortunately it did not work. I mean I got it working, but the game uses frequency shifts to change the pitch of sounds, which is not ent...
by cosmicr
Sat Feb 22, 2025 11:14 pm
Forum: CX16 General Chat
Topic: New CX16 support for Ozmoo 14
Replies: 12
Views: 21711

Re: New CX16 support for Ozmoo 14

fredrik wrote: Sat Jul 06, 2024 4:21 pm Ozmoo copies the entire state of the virtual machine to Video RAM every turn,
This is an interesting approach, wondering why not banked ram? Faster to use VRAM because of the auto increment?