CC65 to DSK
- ibisum
- Wing Commander
- Posts: 1652
- Joined: Fri Apr 03, 2009 8:56 am
- Location: Vienna, Austria
- Contact:
Re: CC65 to DSK
Looks great - can't wait for a playable demo!
Re: CC65 to DSK
Progressing quite fast now, I got the text printing functions and sprites mostly finalized.
Next will be sfx/music and joystick (any resources online on how music tracks can be programmed??).
I am posting the current 8bit-Unity demo DISK, just to keep you updated...
Next will be sfx/music and joystick (any resources online on how music tracks can be programmed??).
I am posting the current 8bit-Unity demo DISK, just to keep you updated...
- Attachments
-
- demos-atmos.dsk
- (131.5 KiB) Downloaded 366 times
- ibisum
- Wing Commander
- Posts: 1652
- Joined: Fri Apr 03, 2009 8:56 am
- Location: Vienna, Austria
- Contact:
Re: CC65 to DSK
Wow, looks so cool .. I can't wait to play it!
Re: CC65 to DSK
For now I am concentrating on 8bit-unity, my cross-platform game SDK (which people can use to develop games).
But once that is done, I need to progress on the 8bit-Hub project to have an ethernet adapter for 8bit-Slicks, so it can be playable online.
Re: CC65 to DSK
I have a technical question: cc65 only has a profile for the Atmos. I tried running atmos binaries on oric 1, and found that text works but not hires.
What are the differences between oric 1 and atmos, from a programming pov?
What are the differences between oric 1 and atmos, from a programming pov?
Re: CC65 to DSK
(sorry, my cellphone created extra posts which I can't delete)
Re: CC65 to DSK
The C library is probably calling ROM routines directly. As the Oric 1 has totally different entry points and routine organization, the same code won't work.
It is possible to make code that detects the machine type at the expense of some CPU cycles, but I am not sure that all the needed ROM routines have their counterparts on the Oric 1 ROM.
It is possible to make code that detects the machine type at the expense of some CPU cycles, but I am not sure that all the needed ROM routines have their counterparts on the Oric 1 ROM.
Re: CC65 to DSK
I second Chema.
Would be interesting to have examples of what is "not working", but it's probably due to ROM version, since there should be no hardware difference.
Would be interesting to have examples of what is "not working", but it's probably due to ROM version, since there should be no hardware difference.
Re: CC65 to DSK
That sound promising! By the way, is there a useful register that can tell me whether I am running an Oric-1 or Atmos ROM?
Re: CC65 to DSK
See there
viewtopic.php?f=25&t=1916
viewtopic.php?f=25&t=1916
Re: CC65 to DSK
Awesome! Looks like all my code so far runs on both Oric-1 and Atmos, just by adding this code:
Code: Select all
// Switch to Hires mode
if PEEK((char*)0xC800) {
asm("jsr $EC33");
} else {
asm("jsr $E9BB");
}
Next question: are there resources for MUSIC playback on the Oric?
- NekoNoNiaow
- Flight Lieutenant
- Posts: 272
- Joined: Sun Jan 15, 2006 10:08 pm
- Location: Montreal, Canadia
Re: CC65 to DSK
Regarding music, it's a complicated topic.
Accessing the YM chip is not very complicated, so doing sound effects and stuff like that is not very difficult, the problem with music is that all we have are either tools from Twilighte (that few people know how to use), the STSound -> MYM player which is not particularly CPU/memory efficient, or some custom minimalist players like the one Chema wrote for Oricium or myself for the "Happy Birthday" song in the 30th year demo.
There's also the Midi player from Fabrice on top, as well as some other variants by Wascol and other.
Accessing the YM chip is not very complicated, so doing sound effects and stuff like that is not very difficult, the problem with music is that all we have are either tools from Twilighte (that few people know how to use), the STSound -> MYM player which is not particularly CPU/memory efficient, or some custom minimalist players like the one Chema wrote for Oricium or myself for the "Happy Birthday" song in the 30th year demo.
There's also the Midi player from Fabrice on top, as well as some other variants by Wascol and other.
- ibisum
- Wing Commander
- Posts: 1652
- Joined: Fri Apr 03, 2009 8:56 am
- Location: Vienna, Austria
- Contact:
Re: CC65 to DSK
I've always thought it'd be nice to have an SFXR-like interface for Oric sounds. Twilighte wrote that simple "synth one-liner" generator, which was also pretty nifty as it allowed you to just bung some register values into a program and get astonishing results, but I've been unable to find where I saved it, so many years ago .. and then there was that "ORIC ROM Sound Seed" experiment, which was pretty binoculars great because it, too, meant fabulous sound results from very minimal initial inputs ..