My VIA seems to not be working...

Building your first 6502-based project? We'll help you get started here.
User avatar
BitWise
In Memoriam
Posts: 996
Joined: 02 Mar 2004
Location: Berkshire, UK
Contact:

Re: My VIA seems to not be working...

Post by BitWise »

DerTrueForce wrote:
Trouble is, I'm after cross-platform tools if at all possible. Kowalski sounds useful, but it's Windows-only. I think I'll use the SB-assembler 3, as i actually already have it, as it turns out.
My assembler/linker are written in Java and run on anything with a JRE.
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
User avatar
GARTHWILSON
Forum Moderator
Posts: 8773
Joined: 30 Aug 2002
Location: Southern California
Contact:

Re: My VIA seems to not be working...

Post by GARTHWILSON »

BitWise's (above) does look really good. Do look into it. He even implemented, as a built-in part of the assembler, program structures, and it automatically uses JMP instructions where branches won't reach.
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
User avatar
BitWise
In Memoriam
Posts: 996
Joined: 02 Mar 2004
Location: Berkshire, UK
Contact:

Re: My VIA seems to not be working...

Post by BitWise »

GARTHWILSON wrote:
BitWise's (above) does look really good. Do look into it. He even implemented, as a built-in part of the assembler, program structures, and it automatically uses JMP instructions where branches won't reach.
I need to upload some new zips with the latest files.
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
Vladimir
Posts: 78
Joined: 20 Jul 2016
Location: Irkutsk, Russia

Re: My VIA seems to not be working...

Post by Vladimir »

Hi DerTrueForce!
It seems, we go in parallel, as someone says, neck and neck... :wink:
During the last three days I tortured an LCD display. This is my first experience with it (and with 6502 assemly language too). Several times I was going to throw that device into the trash, but each time found a mistake in the program and continued to experiment. And finally, I won. It works.
Now I need to optimize the program, because after all quick fixes and patches it looks terrible.
The connection made through port A of R65C22. MPU clock is 1.8432 MHz. The display type is LCM1602K-FSPG-YBW-R. I have no right datasheet, so I don't know the type of controller (HD44780, KS0066, SPLC780D or any other). I went through one by one initialization algorithms (from all available datasheets), trying to find the working one. Two of the tested ones were suitable.
In the process revealed the need for the time delay between characters, otherwise it turns out the garbage on the display (it seems, the program is too quick :D ).
If you have questions for me, I will try to answer.

Vladimir
Post Reply