Search found 7 matches

by manhattanmoments
Tue Jun 02, 2020 11:29 pm
Forum: Programming
Topic: 65c02 - processing large amount of text for 20x4 LCD display
Replies: 10
Views: 1705

Re: 65c02 - processing large amount of text for 20x4 LCD dis


First, a comment, then I will get to the cause of your problem.

The SBC instruction uses the carry flag to indicate whether there is a borrow from a previous subtraction; carry set means no borrow.

Usually, you will see the sequence


sec
sbc


It was not a problem in your case because the ...
by manhattanmoments
Tue Jun 02, 2020 9:11 pm
Forum: Programming
Topic: 65c02 - processing large amount of text for 20x4 LCD display
Replies: 10
Views: 1705

Re: 65c02 - processing large amount of text for 20x4 LCD dis

Thank you all so much so far! Since I'm really new in programming in general and in assembly language especially, I tried to take any hint very serious.

Thanks to @barrm95838, I started to read quite a bit on all addressing modes for the 65C02 and especially on indirect addressing, memory ...
by manhattanmoments
Sun May 31, 2020 2:07 pm
Forum: Programming
Topic: 65c02 - processing large amount of text for 20x4 LCD display
Replies: 10
Views: 1705

65c02 - processing large amount of text for 20x4 LCD display

Hello,

how can I read out vast amount of texts (hundreds of lines) and display them on a 20x4 display?
What I did so far is reading up to 256 characters from the space indicated with .BYTE or .ASCIIZ and displaying it, even with scrolling the lines from bottom to top on the 20x4.
Now I want to ...
by manhattanmoments
Mon Apr 27, 2020 9:29 am
Forum: Newbies
Topic: DIsassembly listings - how to generate?
Replies: 10
Views: 2258

Re: DIsassembly listings - how to generate?

Thanks, GARTHWILSON! What assemblers did you use that gave you this kind of listings?

EDITED: Ok, saw them now on your page.
by manhattanmoments
Mon Apr 27, 2020 9:01 am
Forum: Newbies
Topic: DIsassembly listings - how to generate?
Replies: 10
Views: 2258

Re: DIsassembly listings - how to generate?

Thanks a lot! The -L command works! The others give me an error message, think I need to play around a bit.
The format of the listing (see attached image) is fixed I assume, isn't it? So, I can't just put the assembly code to the right hand side of the hex code, correct?
by manhattanmoments
Mon Apr 27, 2020 7:56 am
Forum: Newbies
Topic: DIsassembly listings - how to generate?
Replies: 10
Views: 2258

Re: DIsassembly listings - how to generate?

Thank you, BigEd, that was helpful!
So, I assume that the assembler is creating some kind of these listings?
I use vasm for assembling my programs written assembly. Any help on how getting these listings out of there or any other assembler that works in command line on a Mac?
by manhattanmoments
Mon Apr 27, 2020 7:11 am
Forum: Newbies
Topic: DIsassembly listings - how to generate?
Replies: 10
Views: 2258

DIsassembly listings - how to generate?

Good morning,

how do I create these listings (whats the right terminology?) that seem to derive from disassembly processes and that contain (from left to right):

- line number,
- memory location (or programme counter?),
- hex code,
- assembly language programme,
- comments?

(see example ...