Search found 1787 matches

by 8BIT
Mon Mar 09, 2026 5:09 am
Forum: Emulation and Simulation
Topic: Kowalski Simulator Updates
Replies: 468
Views: 687369

Re: Kowalski Simulator Updates

This is a good fix. I have also fixed the download file so 6502.htm is included. I went through the Windows 11 migration and my dev files are not quite put back yet... I got the html folder but missed 6502.htm. Fixed now.
by 8BIT
Mon Mar 09, 2026 4:25 am
Forum: Emulation and Simulation
Topic: Kowalski Simulator Updates
Replies: 468
Views: 687369

Re: Kowalski Simulator Updates

Quote:
It appears the file 6502.htm is missing from the 1.4.1.0 distribution.
Ok, I'll get that fixed asap. Glad to hear its working better.
by 8BIT
Sun Mar 08, 2026 4:09 pm
Forum: Emulation and Simulation
Topic: Kowalski Simulator Updates
Replies: 468
Views: 687369

Re: Kowalski Simulator Updates

I have fixed a bug with macro names and the case-insensitive configuration. Thanks to gregorio for pointing it out.

Version 1.4.1.0 is now on my website. https://sbc.rictor.org/kowalski.html

BDD, I know you use macros extensively so please let me know if you find any issues with this fix. Also, I ...
by 8BIT
Sun Mar 08, 2026 4:03 pm
Forum: Emulation and Simulation
Topic: Problem with the .MACRO function in Kowalski Simulator
Replies: 10
Views: 611

Re: Problem with the .MACRO function in Kowalski Simulator

Code: Select all

puta:    .MACRO A     
        .DB $DB,<.beta,>.beta
        .RS A
.beta:
     nop
       .ENDM
Move the label ".beta:" all the way to the left and it will work. Labels must start in the first column of the line, even in macros.
by 8BIT
Sun Mar 08, 2026 1:10 am
Forum: Emulation and Simulation
Topic: Problem with the .MACRO function in Kowalski Simulator
Replies: 10
Views: 611

Re: Problem with the .MACRO function in Kowalski Simulator

OK, if the Case Sensitive option is enabled, there is no error message. With case-insensitive selected, I see the same error message.
Screenshot 2026-03-07 170938.jpg
Screenshot 2026-03-07 170938.jpg (34.8 KiB) Viewed 570 times
I'll take a look at the code when I get some time.

thanks for pointing it out!

Daryl
by 8BIT
Sat Mar 07, 2026 7:58 pm
Forum: Emulation and Simulation
Topic: Problem with the .MACRO function in Kowalski Simulator
Replies: 10
Views: 611

Re: Problem with the .MACRO function in Kowalski Simulator

That code compiled and ran ok for me in version 1.4.0.9 using all 3 processors.

What is the error or problem?



Edited: I missed the version in the OP comments
by 8BIT
Fri Jan 23, 2026 4:01 pm
Forum: Programming
Topic: Weird Assembler Issue
Replies: 11
Views: 859

Re: Weird Assembler Issue

To kellymcdonald78,

Did you resolve this issue?

Daryl
by 8BIT
Tue Jan 13, 2026 11:39 pm
Forum: Programming
Topic: Weird Assembler Issue
Replies: 11
Views: 859

Re: Weird Assembler Issue

My guess is that one of the include files has executable code or there's a system init file that gets inserted before your code. The funny thing is, your "setmode" code is nowhere in the hex dump you provided. A2 FF 9A ...

An alternative hypothesis: If the hex dump is a separate output file, check ...
by 8BIT
Tue Jan 06, 2026 2:24 am
Forum: Hardware
Topic: 65SPI
Replies: 115
Views: 79689

Re: 65SPI

Thanks for posting the source! I'm glad it is working with your SD card.

I have not played with SD cards, I kept my projects working with the CF Flash IDE adapter I built. They were very easy to access and FAT16 compatibility was much simpler that trying to support FAT32. I didn't see the value ...
by 8BIT
Mon Jan 05, 2026 1:48 am
Forum: Hardware
Topic: 65SPI
Replies: 115
Views: 79689

Re: 65SPI

Hi powellb,

Glad to hear you have a working SPI interface for your project. Post the sources here if you like.

The setting of the slave select outputs is independent of the shift operations, so you should be able to trigger a shift the normal way even though no devices are selected.

Daryl
by 8BIT
Thu Dec 04, 2025 4:57 am
Forum: Emulation and Simulation
Topic: AVR-based 6502 Emulator
Replies: 84
Views: 61220

Re: AVR-based 6502 Emulator

In case anyone is interested, I found the source file for generating the AV2SR and SR2AV INC files.

It was actually a QuickBASIC program. I wrote several large programs using QuickBASIC and find it handy for generating tables and converting data files.

I'm attaching it here for the curious. Its a ...
by 8BIT
Wed Dec 03, 2025 8:00 pm
Forum: Emulation and Simulation
Topic: AVR-based 6502 Emulator
Replies: 84
Views: 61220

Re: AVR-based 6502 Emulator

My Monitor was derived from an Apple 2 clone that I owned long ago. I'm sure it was based on and was compatible with WozMon to some degree. Since you like programming in C, check out my CC65 targets for the simulator. The coolest thing is that you have access to all the AVR's IO registers.

Have fun ...
by 8BIT
Wed Dec 03, 2025 6:59 pm
Forum: Emulation and Simulation
Topic: AVR-based 6502 Emulator
Replies: 84
Views: 61220

Re: AVR-based 6502 Emulator

The SR2AV.INC and AV2SR.INC files are lookup tables for converting the AVR's status register to 65C02 Status register or the other way, at a bit level. The reason is to increase simulation speed. Doing it bit by bit takes too long.

They were generated using MS Excel if memory serves correctly. I'm ...
by 8BIT
Tue Nov 18, 2025 4:59 am
Forum: Emulation and Simulation
Topic: AVR-based 6502 Emulator
Replies: 84
Views: 61220

Re: AVR-based 6502 Emulator

Nice to see their product line continuing to improve performance and capabilities. That's a welcome change!

Daryl
by 8BIT
Mon Nov 03, 2025 1:31 am
Forum: Hardware
Topic: 6522 doesn't register input
Replies: 17
Views: 2143

Re: 6522 doesn't register input

Hi Steve,

Unless I'm missing something, it looks like RAMOE is just the inverse of ROMOE. If that is true, then RAMOE is low for $0000-$DFFF. Your IO is also low during $D000-$DFFF. This may be why your IO reads are not working. RAMOE needs to be from $0000 to $CFFF only.

Daryl