Unfortunately sim65 doesn't really have any debugging features.
What are you looking for exactly? I wrote a full 65C02 implementation in Swift ( https://github.com/nrivard/Microprocessed ) that is fully covered by unit tests so you can see how it works. If you are comfortable with Swift, you could ...
Search found 40 matches
- Tue Nov 01, 2022 11:56 am
- Forum: Programming
- Topic: My strategy for debugging with cc65/sim65
- Replies: 8
- Views: 1942
- Sat Aug 06, 2022 10:58 am
- Forum: Programming
- Topic: SC28L92 blinky lights
- Replies: 12
- Views: 2235
Re: SC28L92 blinky lights
You really need to separate the Ø2 clock from the X1 clock.
Everyone has to make trade-offs. For me, the trade-off was (and still is) everything must fit on a 100mm x 100mm board. Ultimate speed is not my real aim, I was actually pretty happy with 2Mhz on v1 of the board, so 7,3728 would be more ...
Everyone has to make trade-offs. For me, the trade-off was (and still is) everything must fit on a 100mm x 100mm board. Ultimate speed is not my real aim, I was actually pretty happy with 2Mhz on v1 of the board, so 7,3728 would be more ...
- Fri Aug 05, 2022 11:25 am
- Forum: Hardware
- Topic: Introducing the n8 Bit Special v2 SBC
- Replies: 5
- Views: 928
Re: Introducing the n8 Bit Special v2 SBC
It turns out the interrupts weren't firing because I was writing to $05 (the IMR offset) instead of DUART_BASE+$05 :( All cleared up now. So far no problems running both the system and 28L92 from same 3,6Mhz main clock source.
I also pushed actual GAL PLD code which does not qualify CLK with any CS ...
I also pushed actual GAL PLD code which does not qualify CLK with any CS ...
- Fri Aug 05, 2022 11:21 am
- Forum: Programming
- Topic: SC28L92 blinky lights
- Replies: 12
- Views: 2235
Re: SC28L92 blinky lights
This was very helpful, thank you. Armed with this, I now have everything working synchronously (basically just replacing my old synchronous get/send byte routines). The only issue I've found so far is probably from either my terminal software on the connected computer or the CH340 usb-to-serial chip ...
- Wed Aug 03, 2022 3:30 pm
- Forum: Programming
- Topic: SC28L92 blinky lights
- Replies: 12
- Views: 2235
Re: SC28L92 blinky lights
Ok I have to write values to MRx as well. Haven't nailed down exactly which ones, i just wrote zeroes to all 3. Then wrote baud rate. then did the code originally posted and it works. I was going to write MRx values anyway but now I know.
- Wed Aug 03, 2022 2:43 pm
- Forum: Programming
- Topic: SC28L92 blinky lights
- Replies: 12
- Views: 2235
Re: SC28L92 blinky lights
Ok weirdness ensues. Can't get it to work again even following exact same steps, but timer/counter and IRQs are working now at least. More debugging! One big positive is that I was able to take my VIA expansion board out. I was using VIA timer to generate system clock and now it's fully onboard ...
- Wed Aug 03, 2022 2:35 pm
- Forum: Programming
- Topic: SC28L92 blinky lights
- Replies: 12
- Views: 2235
Re: SC28L92 blinky lights
BigEd wrote:
BTW you'd usually connect an LED with a series resistor, to limit the current. Without the resistor, depending on the situation, you might even blow the LED with too much current. Also, without the resistor modern LEDs can be unhelpfully bright.
- Wed Aug 03, 2022 12:24 pm
- Forum: Programming
- Topic: SC28L92 blinky lights
- Replies: 12
- Views: 2235
Re: SC28L92 blinky lights
The reference to a delay of up to two bit times strongly suggests that the baud rate divisor must be set up before you can use the functionality.
This did it! Just had to actually write a value to the baud select. Thank you! I'm happy to see i didn't completely screw up wiring. Now to get the ...
This did it! Just had to actually write a value to the baud select. Thank you! I'm happy to see i didn't completely screw up wiring. Now to get the ...
- Wed Aug 03, 2022 10:32 am
- Forum: Programming
- Topic: SC28L92 blinky lights
- Replies: 12
- Views: 2235
SC28L92 blinky lights
I am trying to bring up my SC28L92 on my new SBC (see this post for hardware spec) and so to start, I just want some blinky lights. My hardware has LEDs connected from +5V to TxD and RxD lines so I thought if I can set Tx via the 28L92, I should be able to see some lights!
However, these efforts ...
However, these efforts ...
- Tue Aug 02, 2022 6:29 pm
- Forum: Hardware
- Topic: Introducing the n8 Bit Special v2 SBC
- Replies: 5
- Views: 928
Re: Introducing the n8 Bit Special v2 SBC
- It would have been more flexible to have separate the clocks for the CPU and the SC28L92.
Yes it would, but one of my major goals was to just make it as compact as possible to get that sweet JCB PCB price point, $8 for 5 4-layer boards as of this writing. In the future, if things go well, I ...
- Tue Aug 02, 2022 11:30 am
- Forum: Hardware
- Topic: Introducing the n8 Bit Special v2 SBC
- Replies: 5
- Views: 928
Re: Introducing the n8 Bit Special v2 SBC
As promised here are some real-world photos of the n8 Bit Special in action! My first test was a free-run test. I hardcoded $EA on the databus and observed the low 6 address bits from an expansion port. A very complicated clock divider!
n8bit_v2.jpg
Next I hooked up RAM (x2), ROM, a VIA and an ...
n8bit_v2.jpg
Next I hooked up RAM (x2), ROM, a VIA and an ...
- Tue Aug 02, 2022 11:15 am
- Forum: Hardware
- Topic: Introducing the n8 Bit Special v2 SBC
- Replies: 5
- Views: 928
Introducing the n8 Bit Special v2 SBC
At long last I have received PCBs for the 2nd iteration of my SBC: the n8 Bit Special. The n8 Bit Special is an open-source 65C02 SBC with core functionality on a 100x100mm 4-layer PCB and 3 ports for small and focused expansion cards. Hardware information, PCBs, GAL code, etc. can be found here on ...
- Thu Jun 30, 2022 8:59 am
- Forum: Hardware
- Topic: 65(C)02 Workbench Computer
- Replies: 61
- Views: 6612
Re: 65(C)02 Workbench Computer
I have found it essentially impossible to get FTDI devices now due to the global chip shortages. My design called for the FT230XS but at one point ship times for those were October...2023! I sometimes see small quantities pop up but because of the shortages I have since switched to the cheaper (and ...
- Thu Jun 09, 2022 9:16 am
- Forum: Emulation and Simulation
- Topic: New 65C02 simulator core in Swift
- Replies: 2
- Views: 4864
Re: New 65C02 simulator core in Swift
BigEd wrote:
Well done - and thanks for sharing!
- Thu Jun 09, 2022 8:56 am
- Forum: Emulation and Simulation
- Topic: New 65C02 simulator core in Swift
- Replies: 2
- Views: 4864
New 65C02 simulator core in Swift
I've written and recently open-sourced a full 65C02 simulator core written entirely in Swift. It passes the Klaus functional tests, extended opcode tests, and the Bruce Clark decimal tests. If you want to contribute or are just curious, you can find the project on github:
https://github.com/nrivard ...
https://github.com/nrivard ...