OSDK PT3 player

Since we do not have native C compilers on the Oric, this forum will be mostly be used by people using CC65 or the OSDK. But any general C related post will be welcome !
User avatar
6502Nerd
Flying Officer
Posts: 158
Joined: Thu Oct 08, 2020 9:48 pm
Location: Leicestershire, UK
Contact:

OSDK PT3 player

Post by 6502Nerd »

Hi all

I have been continuing to explore OSDK and decided to publish a PT3 module player, converted to assemble using OSDK and be accessible from C.

Here is the repo for you to use as you wish for your own purposes : https://github.com/6502Nerd/osdk_pt3

The PT3 player is not my own work - see the credits in the pt3_asm.s file for those authors.

The PT3 files are available from the web which I then used the OSDK text to bin converter so it could be included as binary data in the compiled executable.

Also just added a YT video.. hope it's useful!

User avatar
Dbug
Site Admin
Posts: 5263
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: OSDK PT3 player

Post by Dbug »

Very nice, that's one more option!

Do you have any idea how the PT3 compares to the Arkos Tracker in term of memory and cpu usage?
User avatar
6502Nerd
Flying Officer
Posts: 158
Joined: Thu Oct 08, 2020 9:48 pm
Location: Leicestershire, UK
Contact:

Re: OSDK PT3 player

Post by 6502Nerd »

Dbug wrote: Sun Oct 12, 2025 7:56 pm Very nice, that's one more option!

Do you have any idea how the PT3 compares to the Arkos Tracker in term of memory and cpu usage?
I don't have a benchmark yet - but you may know that I incorporated pt3 player into my dflat programs with the same source code and found an approximately 20-25% hit on foreground tasks. So for example when running a for-next loop. In dflat it's just about ok so I can still run Tetris in the foreground with pt3 playing.

So my motivation here is to convert my dflat Tetris to C and use this pt3 player. I think Tetris running in compiled C will be much more efficient that dflat so will be able to run much smoother.

Anyway to summarise - PT3 player takes about 20-25% of cycles, not sure how good it is vs Arkos player. Takes just over 4300 bytes for the player and non-zero page working memory.
User avatar
coco.oric
Squad Leader
Posts: 785
Joined: Tue Aug 11, 2009 9:50 am
Location: North of France
Contact:

Re: OSDK PT3 player

Post by coco.oric »

Thanks a lot for sharing your code. just a few minuts ago, i saw you youtube video and it's great to add this sound option on development
coco.oric as DidierV, CEO Member
Historic owner of Oric, Apple II, Atari ST, Amiga
User avatar
6502Nerd
Flying Officer
Posts: 158
Joined: Thu Oct 08, 2020 9:48 pm
Location: Leicestershire, UK
Contact:

Re: OSDK PT3 player

Post by 6502Nerd »

Happy if anything I've shared is of help.

I have more things in mind to share including much faster graphics utilities for line, circle and pixel resolution character plotting!
Post Reply