6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 8:46 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Kowalski Simulator?
PostPosted: Thu Oct 27, 2011 1:51 pm 
Offline

Joined: Thu Oct 27, 2011 1:47 pm
Posts: 8
Hi folks,

I've been halfway writing my own simulator to assist in documenting some old 6502 code but see the Kowalski simulator is a popular package here. Unfortunately all the posted links to it are broken.

Anyone know a way / link to get a copy of it?

Thanks!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Oct 27, 2011 2:03 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
Leee posted this - but its burried pretty deep.

Here it is again:
http://exifpro.com/utils.html

Daryl


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Oct 27, 2011 2:46 pm 
Offline

Joined: Thu Oct 27, 2011 1:47 pm
Posts: 8
MANY Thanks! I thought I looked hard, apparently not hard enough!


Top
 Profile  
Reply with quote  
 Post subject: Re: Kowalski Simulator?
PostPosted: Thu Oct 27, 2011 6:50 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
PWRX wrote:
Hi folks,

I've been halfway writing my own simulator to assist in documenting some old 6502 code but see the Kowalski simulator is a popular package here. Unfortunately all the posted links to it are broken.

Anyone know a way / link to get a copy of it?

Thanks!

Welcome to the forum.

The Kowalski simulator is an editor, macro assembler and MPU simulator all rolled into one Windows package. I've extensively used it to test code concepts and, in fact, wrote the entire BIOS ROM for my POC computer with the simulator. The sim has a few bugs, which are mostly nuisances. However, one bug to watch out for occurs when executing as an NMOS 6502 and processing BCD arithmetic. A sequence such as the following:
Code:
clc
sed
lda #$99
adc #$01
cld
brk

will improperly set the .Z flag if run in 6502 mode.

The sim can be set up to recognize 6502 or 65C02 instructions with a pseudo-op as the first code line in your source, e.g.:
Code:
.opt proc65c02,caseinsensitive

which tells the assembler that the 65C02 instructions (e.g., PHX) are valid and that unquoted text is not case sensitive (a recommended setting, given that traditional 65xx assembly language is case-insensitive).

The package simulates the Rockwell model, which means it isn't 100 percent compatible with the WDC 65C02. I have generated a longish macro file which adds WDC 65C02 instruction support, as well as support for most of the W65C816S native mode features. The source code for the simulator is also available somewhere, but was written using Microsoft development tools and is commented in Polish, making it all but impossible to modify or upgrade.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: