Hello all!
A few years later (life happened), but I can confirm that the 65SPI on the ATF1504 is working flawlessly at 8 MHz as well!
I have implemented it in my homebrew SBC and use SPI for all communication to the outside world (apart from a UART)
It now controls a sound device, WiFi modem, game ...
Search found 29 matches
- Wed Jul 28, 2021 10:34 pm
- Forum: EhBASIC
- Topic: Weird behaviour on longer BASIC lines
- Replies: 18
- Views: 26814
Re: Weird behaviour on longer BASIC lines
Found it, thanks!
- Wed Jul 28, 2021 8:22 pm
- Forum: EhBASIC
- Topic: Weird behaviour on longer BASIC lines
- Replies: 18
- Views: 26814
Re: Weird behaviour on longer BASIC lines
Hi All!
Well, I converted that CMOS version for CA65 and it actually worked like a charm!
(no surprise there)
Very nice to have a no-IRQ/NMI version with a clean ZeroPage use!
Then I ported it to my full fledged system where I got the original issue and guess what...
AGAIN!
But, I found the ...
Well, I converted that CMOS version for CA65 and it actually worked like a charm!
(no surprise there)
Very nice to have a no-IRQ/NMI version with a clean ZeroPage use!
Then I ported it to my full fledged system where I got the original issue and guess what...
AGAIN!
But, I found the ...
- Wed Jul 28, 2021 6:10 am
- Forum: EhBASIC
- Topic: Weird behaviour on longer BASIC lines
- Replies: 18
- Views: 26814
Re: Weird behaviour on longer BASIC lines
Actually, you are both right.
Even though I usually go the path of doing it myself as education, in this case it feels a bit superfluous to do that.
I may aswel write my own version of BASIC...
So, fair enough, I'll see if I can get your CMOS version running on my system.
(I would like to ...
Even though I usually go the path of doing it myself as education, in this case it feels a bit superfluous to do that.
I may aswel write my own version of BASIC...
So, fair enough, I'll see if I can get your CMOS version running on my system.
(I would like to ...
- Tue Jul 27, 2021 9:22 pm
- Forum: EhBASIC
- Topic: Weird behaviour on longer BASIC lines
- Replies: 18
- Views: 26814
Re: Weird behaviour on longer BASIC lines
Okay, I switched back to Klaus's original source.
Tested it again on a very basic serial connection and now it seems to behave correctly.
Thus, it might be that my kernal routines do mess up the zero page for EhBasic... *sigh*
Still, I do need some space on the ZP for my kernal, so I must get to ...
Tested it again on a very basic serial connection and now it seems to behave correctly.
Thus, it might be that my kernal routines do mess up the zero page for EhBasic... *sigh*
Still, I do need some space on the ZP for my kernal, so I must get to ...
- Tue Jul 27, 2021 7:32 pm
- Forum: EhBASIC
- Topic: Weird behaviour on longer BASIC lines
- Replies: 18
- Views: 26814
Re: Weird behaviour on longer BASIC lines
Maybe good to know that I went from J.G.Harston's version of EhBasic (2.22p5)
- Tue Jul 27, 2021 7:28 pm
- Forum: EhBASIC
- Topic: Weird behaviour on longer BASIC lines
- Replies: 18
- Views: 26814
Re: Weird behaviour on longer BASIC lines
So, the actual program isn't corrupted and still runs normally, correct? It's just LIST that temporarily loses the ability to detokenize properly?
No, the program also fails.
It's not just the LISTing that produces the error.
The example line I gave (580 FOR I=1 TO 12: FOR J=1 TO 12: PRINT P$(I ...
No, the program also fails.
It's not just the LISTing that produces the error.
The example line I gave (580 FOR I=1 TO 12: FOR J=1 TO 12: PRINT P$(I ...
- Tue Jul 27, 2021 3:40 pm
- Forum: EhBASIC
- Topic: Weird behaviour on longer BASIC lines
- Replies: 18
- Views: 26814
Re: Weird behaviour on longer BASIC lines
Here is my ehbasic.asm file as-is:
- Tue Jul 27, 2021 3:38 pm
- Forum: EhBASIC
- Topic: Weird behaviour on longer BASIC lines
- Replies: 18
- Views: 26814
Re: Weird behaviour on longer BASIC lines
Hi!
Thanks for your quick reply!
It has nothing to do with the Serial connection, as everything works regarding sending and receiving data.
It is also not a speed issue, it happens even when i am sending 1 character a second, so no RTS/CTS of buffer overrun issues.
(I even tried typing it that ...
Thanks for your quick reply!
It has nothing to do with the Serial connection, as everything works regarding sending and receiving data.
It is also not a speed issue, it happens even when i am sending 1 character a second, so no RTS/CTS of buffer overrun issues.
(I even tried typing it that ...
- Tue Jul 27, 2021 1:35 pm
- Forum: EhBASIC
- Topic: Weird behaviour on longer BASIC lines
- Replies: 18
- Views: 26814
Weird behaviour on longer BASIC lines
Hello all,
I am implementing EhBasic on my 65C02 board, and all went well, until...
I hit a snag, of course.
After some testing, I found out that when I types somewhat longer lines of BASIC, weird stuff was happening.
A line like:
580 FOR I=1 TO 12: FOR J=1 TO 12: PRINT P$(I,J);: NEXT J
got ...
I am implementing EhBasic on my 65C02 board, and all went well, until...
I hit a snag, of course.
After some testing, I found out that when I types somewhat longer lines of BASIC, weird stuff was happening.
A line like:
580 FOR I=1 TO 12: FOR J=1 TO 12: PRINT P$(I,J);: NEXT J
got ...
- Sat Oct 03, 2020 1:54 pm
- Forum: Programming
- Topic: CC/CA65 - Use macro's in included files
- Replies: 3
- Views: 1039
Re: CC/CA65 - Use macro's in included files
Thank you once again, people!
I got it to work.
Was indeed the order in which includes should be.
Thanks.
I got it to work.
Was indeed the order in which includes should be.
Thanks.
- Wed Sep 30, 2020 8:39 pm
- Forum: Programming
- Topic: CC/CA65 - Use macro's in included files
- Replies: 3
- Views: 1039
CC/CA65 - Use macro's in included files
Hello fellow-coders!
I am using CC65/CA65 to code for my 65C02 machine.
Does anyone of you know if and how i could use Macro's in included files?
Example:
i have a main file that includes another file using:
.include "extrafile.s"
That extrafile.s file uses macro's:
.macro somefunction
bla ...
I am using CC65/CA65 to code for my 65C02 machine.
Does anyone of you know if and how i could use Macro's in included files?
Example:
i have a main file that includes another file using:
.include "extrafile.s"
That extrafile.s file uses macro's:
.macro somefunction
bla ...
Re: 65SPI
My pleasure testing it out, Daryl!
I programmed my ATF1504 after reading an Instructable by a guy called Doctek:
https://www.instructables.com/id/Ghetto-Programmable-Logic-CPLD-Development-Syste/
He points towards an easy to build version of Altera's ByteBlaster for old parallel ports, so i ...
I programmed my ATF1504 after reading an Instructable by a guy called Doctek:
https://www.instructables.com/id/Ghetto-Programmable-Logic-CPLD-Development-Syste/
He points towards an easy to build version of Altera's ByteBlaster for old parallel ports, so i ...
- Mon Jun 29, 2020 6:53 am
- Forum: Hardware
- Topic: More than 2 wait-states for 8 MHz SBC
- Replies: 15
- Views: 1667
Re: More than 2 wait-states for 8 MHz SBC
In this case that's not a problem at all, since the ARMSID runs on its own (1 MHz) clock, which can be asynchronous
to the other bus signals.
to the other bus signals.
- Sun Jun 28, 2020 8:43 pm
- Forum: Hardware
- Topic: More than 2 wait-states for 8 MHz SBC
- Replies: 15
- Views: 1667
Re: More than 2 wait-states for 8 MHz SBC
Becoming quite the interesting topic here :)
I see what you mean, Jeff. Clever.
If i was to use this setup, as i understand it,. I would have to add another inverter to the now stretched /RDWR line, as the (ARM)SID normally uses the processors (combined) R/W line directly.
Should not be problematic ...
I see what you mean, Jeff. Clever.
If i was to use this setup, as i understand it,. I would have to add another inverter to the now stretched /RDWR line, as the (ARM)SID normally uses the processors (combined) R/W line directly.
Should not be problematic ...