65c816 and twilighte board/orix : here we go :)

Want to discuss about Demos on the Oric, here you are !
Post Reply
Flying Officer
Posts: 179
Joined: Tue Mar 14, 2006 11:53 am
Location: France

65c816 and twilighte board/orix : here we go :)

Post by jede »

Soon gl65 in 16 bits on the oric ? :)

Of course the routine could be written to be quicker (copy blocks opcodes or zero page ...)

The picture is displayed with a 65C816 cpu and a 65C816 routine, it loads from sdcard or from usb (from PC) if we want (it solves emulators issues, because program can be executed on the real hardware directly).

ca65 code :

Code: Select all

    rep   #$10
    ldx   #$00
    lda   yessa,x
    sta   $a000,x
    cpx   #8000
    bne   @L1


User avatar
Flying Officer
Posts: 164
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: 65c816 and twilighte board/orix : here we go :)

Post by jbperin »

WOW !! :shock:

Silicon Graphorics in progress .. that's so crazy ! :D :D

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

Re: 65c816 and twilighte board/orix : here we go :)

Post by Dbug »

Nice, I guess you are still limited to 64k address space, or did you find a way to access more ram?

Flying Officer
Posts: 222
Joined: Thu Oct 13, 2016 9:55 pm

Re: 65c816 and twilighte board/orix : here we go :)

Post by ThomH »

I'm getting quite far ahead of myself here, but I'm currently working on the 65816 in Clock Signal, which means it'd be essentially trivial to add support for at least an 65802 to the Oric.

So if there is any extant code, it'd be great to know more about it. Though a full-on Twilighte board might be a bit beyond me.

EDIT: that's all done now. It'd be trivial to add 65802 (i.e. 65816 with a 16-bit address bus) support to my emulated Oric; I can do it for a one-off build by changing two lines. But mine isn't an emulator that offers a trillion settings just because it can — that means I can offer a 65802 Oric if ever there is software to use it with.

EDIT2: oh, go on then, secret feature. If you pull master now and build the SDL version, you'll notice that you can now create a new Oric from the command line with a 65816. It's just useful for me to have one machine that actually tests that segment of code before I get started on a genuine 65816 machine. No current guarantees as to correctness, but test suite results are generally good.

EDIT3: though I should probably add that I found limited 65816 tests and am only now working on my first 65816-based machine. So possibly wait until the next release if you want a 65802 that most likely works correctly.

Post Reply