Search found 31 matches

by Powersoft
Thu Jun 20, 2024 3:48 pm
Forum: Programming
Topic: 6502 Macroassembler & Simulator (Michal k)
Replies: 17
Views: 2678

Re: 6502 Macroassembler & Simulator (Michal k)

Dear Daryl,

Thanks, it works.
I have another question. Is there an 6502 monitor (simple) that runs on the emulator.
I am verry interested in this, for my esp32 emulator project. Running 6502 code on my emulator is working, but I missing a small monitor. When this works I wont to implement ithis on ...
by Powersoft
Wed Jun 19, 2024 6:01 am
Forum: Programming
Topic: 6502 Macroassembler & Simulator (Michal k)
Replies: 17
Views: 2678

Re: 6502 Macroassembler & Simulator (Michal k)

Thanks, nice work.
Have played with it, but one thing is not going well.
When starting fresh with FF00R the program is hanging.
And always when I send FF00R the program hangs.

Please can you take a look.

Cheers,

Jan
by Powersoft
Tue Jun 18, 2024 8:07 pm
Forum: Programming
Topic: 6502 Macroassembler & Simulator (Michal k)
Replies: 17
Views: 2678

Re: 6502 Macroassembler & Simulator (Michal k)

Dear Daryl,

Please can you post the asm code for me.

Cheers,

Jan
by Powersoft
Tue Jun 18, 2024 5:52 pm
Forum: Programming
Topic: 6502 Macroassembler & Simulator (Michal k)
Replies: 17
Views: 2678

Re: 6502 Macroassembler & Simulator (Michal k)

Dear Daryl,

The testfile is working perfect, de wozmonitor all most.
After setting my keyboard to uppercase it was running.

But try to run this simple test program scrolling text on the screen :

0000: A9 00 AA 20 EF FF E8 8A
0008: 4C 02 00

but without results. Run it on my Replica-1 SBC and it ...
by Powersoft
Tue Jun 18, 2024 2:27 pm
Forum: Programming
Topic: 6502 Macroassembler & Simulator (Michal k)
Replies: 17
Views: 2678

Re: 6502 Macroassembler & Simulator (Michal k)

Thanks for the quick respons.
Have set the IO at $D000, compile the code and switch to the debugger.
The IO window is popping up.
Push RST and run in debugger. Notting is comming up in the io window!

Do I sommething wring? Use the latest version of the emulator.

Cheers,

Jan
by Powersoft
Mon Jun 17, 2024 10:13 am
Forum: Programming
Topic: 6502 Macroassembler & Simulator (Michal k)
Replies: 17
Views: 2678

6502 Macroassembler & Simulator (Michal k)

I wont to run the woz-monitor in the simulator. But what I trie no succes. Can someone help me out with this, perhaps a running version is very helpful. I struggle withe the in- and output of the simulator in respect to the woz-monitor.

Thanks for any help.
Jan Kromhout - NL
by Powersoft
Tue Jun 27, 2023 6:22 am
Forum: Programming
Topic: Trying to grok the Woz FP routines
Replies: 13
Views: 10147

Re: Trying to grok the Woz FP routines

I have not looked deeper into the woz code for some times, but I compiled a small test program with vbcc using the woz library and checked a few of your steps.
Hopefully that helps a bit?
Nope, it doesn't. It helps a lot :D

I think what is apparent is that I need to understand the FP format ...
by Powersoft
Sat Jul 24, 2021 1:15 pm
Forum: Forth
Topic: R.N
Replies: 9
Views: 2214

Re: R.N

Could this be a word printing the return stack, because first is printing the stack contence!
by Powersoft
Sat Jul 24, 2021 12:35 pm
Forum: Forth
Topic: R.N
Replies: 9
Views: 2214

Re: R.N

It’s came from:

Forth Dimensions
Volume 5
Number 1
Page 19

“Add a Break Point Tool”
Autor: Leo Brodie
by Powersoft
Sat Jul 24, 2021 10:39 am
Forum: Forth
Topic: R.N
Replies: 9
Views: 2214

R.N

I found in the FD-V05N1.PDF an intersting article “Add a Breapoint Tool”. (Leo Brodie)
There was one word I could not find back.

“N.R”

What is the meaning of this word?

Cheers,

Jan
by Powersoft
Sat Jul 03, 2021 10:55 am
Forum: Emulation and Simulation
Topic: Error in 6502 IDE (Kowalski)
Replies: 2
Views: 1008

Re: Error in 6502 IDE (Kowalski)

Problem is solved, have placed the variable in the beginning ( first two declarations )in to the wrong order.
Place them under the varable definitions and all is compile well :lol:
by Powersoft
Sat Jul 03, 2021 9:40 am
Forum: Emulation and Simulation
Topic: Error in 6502 IDE (Kowalski)
Replies: 2
Views: 1008

Error in 6502 IDE (Kowalski)

When I compile the source got a strange message,
ERROR E022: Phase error-inconsistent label value between phases "SINOVF" ....
The code is straight from a rom listing.

Is this an error of the compiler?

This is my code.

Thanks for any help.



ROMBASE =$D800 ;STARTING ADDRESS OF F.P. ROM
FPREC =6 ...
by Powersoft
Fri Jun 25, 2021 10:15 am
Forum: Forth
Topic: Fig word "Marker"
Replies: 1
Views: 1731

Fig word "Marker"

Knows someone the definition (source) of the word marker?
by Powersoft
Wed Jun 23, 2021 10:28 am
Forum: Forth
Topic: Double-Number word set
Replies: 10
Views: 2294

Re: Double-Number word set

Writing the D2* and D2/ as primitives will make them extremely fast compared to using the division and multiplication routines.

For D2/ :
LDA 1,X ; Get the highest byte and
ASL A ; shift left (to preserve the sign)
ROR 1,X
ROR 0,X
ROR 3,X
ROR 2,X
JMP NEXT

For D2* :
ASL 2,X ; Start with ...
by Powersoft
Wed Jun 23, 2021 10:08 am
Forum: Forth
Topic: Double-Number word set
Replies: 10
Views: 2294

Re: Double-Number word set

Only lightly tested. Do you need 2@ and 2! as well?
: 2CONSTANT <BUILDS , , DOES> dup 2 + @ swap @ ;
: 2VARIABLE <BUILDS 0 , 0 , DOES> ;

( These next two would be better as CODE words but )
( FIG doesn't have the assembler loaded by default. )
( MSW = Most Significant Word of a double )
( LSW ...