Thanks Klaus,
After searching through the forum for "Kowalski", I have dug up quite a few items, including the BRK issue. I will add these to my list.
I looked briefly into changing the undefined opcodes. The Simulator pulls the opcode/operand/timing info from the same database the assembler uses. I have to essentially add a NOP+0 byte, NOP+1 byte, and NOP+2 byte instruction to the assembler's list of valid opcodes. I am considering UN1, UN2, and UN3. This would allow me to model the number of bytes used in the simulator along with the cycles used and allow the programmer to include them in their source code without locking in the skipped bytes to an operand.
Here's an example of what I think Jeff was eluding to:
Code:
Init0 CLC
UN2 ; skip the SEC instruction
Init1 SEC
...
Prompt1 LDA #'>'
UN3 ; skip the following LDA command
Prompt2 LDA #'!'
...
The other bugs you reported should be straight forward to fix.
This is the list of bugs I found that I plan to test & fix if needed:
Quote:
I will say, though, that if you used any labels or variables without a dot before them between referencing .multiplydone and the .multiplydone label, then the Kowalski assembler forgets all labels and variables that begin with a dot.
viewtopic.php?f=2&t=4978&hilit=kowalski&start=15#p57348Quote:
Just discovered another bug in the simulator having to do with macro processing. I accidentally passed one too many parameters with a macro call—the macro only accepts one parameter—and the assembler got hung up in an error loop when it tried to assemble the statement. I had to go into the task manager and manually kill the simulator to break the loop. Fortunately, I had saved the source file before this happened.
viewtopic.php?f=1&t=4981&p=57332&hilit=kowalski#p57332Quote:
Kowalski's simulator is cycle-accurate except for not duplicating timing when an IRQ hits during the execution of a branch instruction
viewtopic.php?f=2&t=4948&p=56785&hilit=kowalski#p56785Quote:
BRK test while checking the flags pushed onto the stack by LDA from page $100, expected $30 - actual $10.
viewtopic.php?f=2&t=2241&p=20774&hilit=kowalski#p20774Here are some feature enhancement requests as well:
Quote:
As it has been said before, the Kowalski assembler does not support passing the immediate modifier to a macro
viewtopic.php?f=2&t=2832&p=31316&hilit=kowalski#p31356Quote:
The assembler recognizes @F as denoting a Forward branch to the closest location marked F@
viewtopic.php?f=8&t=1932&hilit=kowalski#p21361Quote:
Speaking of editors, the one in the Kowalski simulator doesn't have the ability to insert ANSI box graphics characters from the keyboard
viewtopic.php?f=1&t=2250&p=21094&hilit=kowalski#p21094Do you guys think we should move this discussion over to the Emulation and Simulation group?
_________________
Please visit my website ->
https://sbc.rictor.org/