Search found 77 matches

by gregorio
Thu Mar 12, 2026 11:29 pm
Forum: Emulation and Simulation
Topic: Kowalski Simulator Updates
Replies: 468
Views: 687473

Re: Kowalski Simulator Updates

In my opinion, such unnecessary complications cause frustration for beginners and can effectively discourage them from exploring the Kowalski Simulator. It's a shame, because it's actually a good program.
by gregorio
Thu Mar 12, 2026 10:57 am
Forum: General Discussions
Topic: No access to the website www.6502.org
Replies: 2
Views: 252

No access to the website www.6502.org

It seems you're experiencing some kind of outage that's been blocking access to www.6502.org from half of London, UK, since yesterday. Maybe the administrator should investigate ;)
by gregorio
Tue Mar 10, 2026 12:01 pm
Forum: Emulation and Simulation
Topic: Kowalski Simulator Updates
Replies: 468
Views: 687473

Re: Kowalski Simulator Updates


Garth has some good illustrations of that on his website. I don’t indent things such as loop bodies in my source, but if I did, I would be using a model such as his.
This is a good example, I advise you to try to assemble e.g. this MACRO using Kowalski Simulator. ;)
BEQlong: MACRO LBL
BNE bel1 ...
by gregorio
Mon Mar 09, 2026 3:44 pm
Forum: Emulation and Simulation
Topic: Kowalski Simulator Updates
Replies: 468
Views: 687473

Re: Kowalski Simulator Updates

In my opinion, this example source code is more readable, and I can locate important fragments more quickly than
Capture_2026_03_09_15_13_27_109.png

the next one. Especially if it's extensive.

Capture_2026_03_09_15_15_03_115.png

Unfortunately, for the assembler in Kowalski Sym. the first one ...
by gregorio
Mon Mar 09, 2026 1:02 pm
Forum: Emulation and Simulation
Topic: Kowalski Simulator Updates
Replies: 468
Views: 687473

Re: Kowalski Simulator Updates

Thanks for the fix. It seems to be working now.

I suggest ignoring at least the first tab character in labels. In my opinion, this would improve the readability of user-generated source code and reduce the number of frustrating errors.
by gregorio
Mon Mar 09, 2026 1:40 am
Forum: Emulation and Simulation
Topic: Problem with the .MACRO function in Kowalski Simulator
Replies: 10
Views: 632

Re: Problem with the .MACRO function in Kowalski Simulator

Thanks for the help, I wrote this macro:
puta: .MACRO b
.a .=<* & $03
.IF .a==0
NOP
.ENDIF
.IF .a==2
NOP
NOP
NOP
.ENDIF
.IF .a==3
NOP
NOP
.ENDIF
.DB $DB,<.beta,>.beta
.RS b
.beta:
.ENDM
It may not be perfect, but it seems to meet my needs, and I learned something along the way.

Why ...
by gregorio
Sun Mar 08, 2026 4:52 pm
Forum: Emulation and Simulation
Topic: Problem with the .MACRO function in Kowalski Simulator
Replies: 10
Views: 632

Re: Problem with the .MACRO function in Kowalski Simulator

Thanks
I'm trying to write a macro that would allow me to ensure that 32-bit data always starts at an address divisible by 4, i.e., xxx0, xxx4, xxx8, xxxC.


blabla .MACRO
; If necessary, the macro should insert the appropriate number of NOPs here
STP
.DWORD $12345678 ;must be at ADDRESS /4
.ENDM ...
by gregorio
Sun Mar 08, 2026 3:25 pm
Forum: Emulation and Simulation
Topic: Problem with the .MACRO function in Kowalski Simulator
Replies: 10
Views: 632

Re: Problem with the .MACRO function in Kowalski Simulator

You're welcome.
I have another problem with .MACRO.

Code: Select all

puta: 	.MACRO A     
    	 .DB $DB,<.beta,>.beta
    	 .RS A
  .beta:
  	nop
    	.ENDM
Error: ERROR E037: Unrecognized instruction/directive/macro name. ROW 4, FILE
by gregorio
Sat Mar 07, 2026 11:42 pm
Forum: Emulation and Simulation
Topic: Problem with the .MACRO function in Kowalski Simulator
Replies: 10
Views: 632

Re: Problem with the .MACRO function in Kowalski Simulator

Error information:
ERROR E037: Unrecognized instruction/directive/macro name.

I've checked now.
It seems the error occurs if the macro name begins with a capital letter.
by gregorio
Sat Mar 07, 2026 5:07 pm
Forum: Emulation and Simulation
Topic: Problem with the .MACRO function in Kowalski Simulator
Replies: 10
Views: 632

Problem with the .MACRO function in Kowalski Simulator

I'm having trouble with the .MACRO instruction in Kowalski Simulator. I'm trying to compile the example code based on the HELP file in the latest version of the program, 1.4.0.9, and it's not working.
Put: .MACRO chr ; character printing
LDA #chr ; tru ‘chr’
JSR PRINT
.ENDM

*=$1000
start:
CLC ...
by gregorio
Fri Feb 20, 2026 9:45 pm
Forum: Emulation and Simulation
Topic: 65xxx Emulator on STM32
Replies: 0
Views: 1893

65xxx Emulator on STM32

I'd like to present my system, which I've been working on for some time.
It's based on the popular STM32H750 microcontroller, which can be programmed to emulate older computer systems.

https://stm32-base.org/boards/STM32H750VBT6-STM32H7XX-M.html
Currently, it can be used to run programs for the ...
by gregorio
Tue Nov 04, 2025 3:42 am
Forum: General Discussions
Topic: OT: ALAN TURING ACADEMIC PAPERS DISCOVERED
Replies: 11
Views: 2683

Re: OT: ALAN TURING ACADEMIC PAPERS DISCOVERED

Let me quote Gordon Welchman, who became head of Huta 6 at Bletchley Park, who wrote: "Hut 6 Ultra would never have been built if we hadn't learned from the Poles at the last minute details about both the German military version of the commercial Enigma machine and the operational procedures in use ...
by gregorio
Mon Nov 03, 2025 11:55 pm
Forum: General Discussions
Topic: OT: ALAN TURING ACADEMIC PAPERS DISCOVERED
Replies: 11
Views: 2683

Re: OT: ALAN TURING ACADEMIC PAPERS DISCOVERED

“Breaking the Code” is probably the source of all this constant nonsense about Enigma and Turing. :idea:

https://youtu.be/qn_BBQEjCxI

If anyone is interested in history, the movie "Enigma Secret " is basically based on historical events.
https://youtu.be/h2Ug4OrtExU
by gregorio
Mon Nov 03, 2025 7:49 pm
Forum: General Discussions
Topic: OT: ALAN TURING ACADEMIC PAPERS DISCOVERED
Replies: 11
Views: 2683

Re: OT: ALAN TURING ACADEMIC PAPERS DISCOVERED

I wonder how long the lie that Turing broke the Enigma will persist in the public sphere?
No, Turing didn't break the Enigma, because that was accomplished by a team of three Polish cryptologists: Marian Rejewski, Jerzy Różycki, and Henryk Zygalski.
Turing's contribution was a machine that allowed ...
by gregorio
Wed Aug 27, 2025 9:21 am
Forum: Hardware
Topic: Looking for retro hardware experts for completing a project
Replies: 8
Views: 2254

Re: Looking for retro hardware experts for completing a proj

I looked at your schematics, and they look correct. You wrote that it resembles the Apple II and TI-99/4A. I see some similarity to Apple II and TMS9918A-based graphics cards, of which there were several for the Apple II, such as those shipped with the LCSI Sprite Logo language.
I think you're still ...