Search found 5 matches

by altera
Wed Oct 26, 2016 2:47 am
Forum: Newbies
Topic: WDC816CC calling convention
Replies: 7
Views: 1541

Re: WDC816CC calling convention

Thanks for the insights! The ASM function is coming next but not likely to be today unfortunately.

Side note, all the functions are under my control of course so I can make them behave as required.
by altera
Tue Oct 25, 2016 3:26 am
Forum: Newbies
Topic: WDC816CC calling convention
Replies: 7
Views: 1541

Re: WDC816CC calling convention

Alright found a few minutes after work here, don't have a whole lot of time during the week. I'm going to keep a running log of the investigation here until I collect it all. Maybe I can write it all up when done.

Compiling the following code with WDC816CC


void test()
{
const char * buf ...
by altera
Tue Oct 25, 2016 2:11 am
Forum: Newbies
Topic: WDC816CC calling convention
Replies: 7
Views: 1541

Re: WDC816CC calling convention

Thanks, I'm very happy with how it's turning out.

That's right that is one of Daryl's SPI controllers. Works well!
by altera
Mon Oct 24, 2016 6:30 am
Forum: Newbies
Topic: WDC816CC calling convention
Replies: 7
Views: 1541

Re: WDC816CC calling convention

Of course reading the doc further I find my answer on page 21. Will answer my own question in more detail as i experiment with it.
by altera
Sun Oct 23, 2016 10:16 pm
Forum: Newbies
Topic: WDC816CC calling convention
Replies: 7
Views: 1541

WDC816CC calling convention

Hey everyone, I'm in the middle of building my first 128kByte 65816 based machine with SPI, Serial and AVR based ram loader and clock control. Address decoding is done using a Altera CPLD (MAX7000), this gives me quite a bit of flexibility.

I'm learning the ropes by building it on a breadboard ...