Search found 59 matches

by nei02
Tue Sep 05, 2017 1:29 pm
Forum: Newbies
Topic: From 8bit breadboard to 6502
Replies: 137
Views: 36100

Re: From 8bit breadboard to 6502

Oh! Thanks! I was working with the version 0.8.5 :shock:
How many releases have I missed? :?:
by nei02
Mon Sep 04, 2017 7:55 pm
Forum: Newbies
Topic: From 8bit breadboard to 6502
Replies: 137
Views: 36100

Re: From 8bit breadboard to 6502

Thanks! Yes I will!
I like the Symon Emulator. And it seems that it only supports the NMOS Opcodes.
:(
by nei02
Mon Sep 04, 2017 6:26 pm
Forum: Newbies
Topic: From 8bit breadboard to 6502
Replies: 137
Views: 36100

Re: From 8bit breadboard to 6502

Yes I learned really a lot! And got a lot of help in this forum!

What I have done since my last post:

- I took the WozMonitor from the Apple I (found it in www) and adapted the code to my environment.
OPHIS and Symon

- Wrote a Monitorprogramm by myself to load, store, read and run. (of course ...
by nei02
Sat Aug 26, 2017 7:42 am
Forum: Newbies
Topic: From 8bit breadboard to 6502
Replies: 137
Views: 36100

Re: From 8bit breadboard to 6502

I am really happy! For me it is a big step!
I managed to program a little monitor which allows me to copy assembled code via terminal to RAM and execute.

For all of you this is certainly an "old hat". But for me it is just wonderful! :-)
by nei02
Fri Aug 25, 2017 1:23 pm
Forum: Programming
Topic: 6502 with a serial port - a minimal monitor?
Replies: 66
Views: 10364

Re: 6502 with a serial port - a minimal monitor?

As I want to have a monitor program in my 65C02 SBC I wonder if this thread is still valid.
I would like to habe a simple monitor program like the WOZ Monitor which allows me to send Hex values to address in RAm and start a program.
by nei02
Tue Aug 15, 2017 3:27 pm
Forum: Newbies
Topic: From 8bit breadboard to 6502
Replies: 137
Views: 36100

Re: From 8bit breadboard to 6502

Hi,

managed to print binary numbers and managed to use the VIA Interrupt and an ISR.
Thanks you for the Interrupt primer. helped a lot.
I like the picture of the not so important boy you should wait at the backdoor because he always forgets to unlock the door.
:lol:
by nei02
Mon Aug 14, 2017 3:55 pm
Forum: Newbies
Topic: From 8bit breadboard to 6502
Replies: 137
Views: 36100

Re: From 8bit breadboard to 6502

Thank you for the code example. This helps me to learn assembler.
You shift the byte one bit left (after clearing carry out)
Then you analyse the carry flag. If set than print "1" if not print "0".

I think with 65C02 the code will be shorter because you can push and pull X,y to stack directly.
Cool ...
by nei02
Mon Aug 14, 2017 12:44 pm
Forum: Newbies
Topic: From 8bit breadboard to 6502
Replies: 137
Views: 36100

Re: From 8bit breadboard to 6502

I am trying to display the binary data of a register on the terminal

sta ACIA_DATA
The terminal program thinks it gets an character and try to display it.
But how can I tell the terminal that I just von to print binary data. e.g. "00110011"
Do I need to write a encoding macro?

-Take Byte
-Read ...
by nei02
Sat Aug 12, 2017 12:59 pm
Forum: Newbies
Topic: From 8bit breadboard to 6502
Replies: 137
Views: 36100

Re: From 8bit breadboard to 6502

This is the current status. I will optimise the ground connection and the write control cables.
For me it is a learning computer. I know it is not optimal.

I am now thinking if the next step could be to enter a little program via terminal which will be stored and executed in RAM.


Greetings ...
by nei02
Sat Aug 12, 2017 12:17 pm
Forum: Newbies
Topic: From 8bit breadboard to 6502
Replies: 137
Views: 36100

Re: From 8bit breadboard to 6502

START:
ldx #$00

OUTPUT:
lda STRING, x
CMP #$00
beq INPUT ; if end of null terminated byte
sta ACIA_DATA
sta VIA_DATA_A
stx $0001
jsr DELAY
ldx $0001
inx
bne OUTPUT ; if x > $FF

INPUT:
lda ACIA_STAT
sta VIA_DATA_A
and #%00001000 ; check bit3 (Receiver Data Register Full?)
beq ...
by nei02
Sat Aug 12, 2017 12:16 pm
Forum: Newbies
Topic: From 8bit breadboard to 6502
Replies: 137
Views: 36100

Re: From 8bit breadboard to 6502

yes! This works!

Code: Select all

cmp #$51
				bne INPUT	
by nei02
Sat Aug 12, 2017 12:08 pm
Forum: Newbies
Topic: From 8bit breadboard to 6502
Replies: 137
Views: 36100

Re: From 8bit breadboard to 6502

changed code to

Code: Select all

cmp #'Q
				bne INPUT		
still branches.

According to the LED's the code is $51 after pressing "Q"
Maybe I should compare against this Hex value.
by nei02
Sat Aug 12, 2017 11:47 am
Forum: Newbies
Topic: From 8bit breadboard to 6502
Replies: 137
Views: 36100

Re: From 8bit breadboard to 6502

Ophis and 65C02:
Thanks Mario!

Issues Serial Communication:
By the way: A lot of problems I had with the serial transfer was caused by using the USB ports for Arduino EEPROMing and for serial communication. Although I used different USB ports.
After restarting the Mac the serial communication ...
by nei02
Sat Aug 12, 2017 6:47 am
Forum: Newbies
Topic: From 8bit breadboard to 6502
Replies: 137
Views: 36100

Re: From 8bit breadboard to 6502

I made some progress.
While waiting for input I read the status register and output the content to some LED's (VIA_DATA_A)
bit 4 is always high
When I press a key the bit 3 goes high.
Then after lda from ACIA_DATA - bit 3 goes low again.
Now its time to study the manual again to see what this means ...
by nei02
Fri Aug 11, 2017 9:26 pm
Forum: Newbies
Topic: From 8bit breadboard to 6502
Replies: 137
Views: 36100

Re: From 8bit breadboard to 6502

Ok! You are right! It doesn't work! ;-)

Before I go to bed - I want to post the latest status:

(These are my first steps. Please don't hit me!) and the OPHIS Assembler doesn't know STZ BRA PLX ...


.org $8600
.alias ACIA $4080
.alias ACIA_DATA ACIA+0
.alias ACIA_STAT ACIA+1
.alias ACIA_COMM ...