Search found 44 matches
- Tue Apr 30, 2024 6:14 am
- Forum: Programming
- Topic: address-of (&) fragment error (ca65)
- Replies: 6
- Views: 16016
Re: address-of (&) fragment error (ca65)
It might be that its allowing the Zero page one as it might think you can/are using a ZP addressing mode which only needs 8 bits.
According to ca65 documentation I think this is why zero page 8-bit addressing is working here: https://cc65.github.io/doc/ca65.html#ss8.1
ca65 assigns each ...
- Tue Apr 30, 2024 6:09 am
- Forum: Programming
- Topic: address-of (&) fragment error (ca65)
- Replies: 6
- Views: 16016
Re: address-of (&) fragment error (ca65)
Thank you Sean that's very helpful. I understand at a high-level.
I wonder if this is the same thing or same concept as the ld65 config segments: https://www.cc65.org/doc/ld65-5.html
For a bss type segment to be useful, it must be cleared somehow by your program (this happens usually in the ...
I wonder if this is the same thing or same concept as the ld65 config segments: https://www.cc65.org/doc/ld65-5.html
For a bss type segment to be useful, it must be cleared somehow by your program (this happens usually in the ...
- Mon Apr 29, 2024 5:20 am
- Forum: Programming
- Topic: address-of (&) fragment error (ca65)
- Replies: 6
- Views: 16016
Re: address-of (&) fragment error (ca65)
Thank you very much leepivonka and Gordon !
8-bit registers and 16-bit addresses ofcourse! I couldn't see the forest from the trees. Learning the hardware is one thing but then applying the hardware knowledge to programming is another (for beginners like me anyway).
And Gordon, thank you for the ...
8-bit registers and 16-bit addresses ofcourse! I couldn't see the forest from the trees. Learning the hardware is one thing but then applying the hardware knowledge to programming is another (for beginners like me anyway).
And Gordon, thank you for the ...
- Sat Apr 27, 2024 1:51 pm
- Forum: Programming
- Topic: address-of (&) fragment error (ca65)
- Replies: 6
- Views: 16016
address-of (&) fragment error (ca65)
Hi Guys, I'm trying to get the address of some of my variables.
.zeropage
ZPLoc: .res 20
.bss
BSSLoc: .res 10
.data
DataLoc: .res 15
lda #ZPLoc
lda #BSSLoc
lda #DataLoc
ld65 config file
ZP starts at $0000
RAM starts at $0200
where BSS is the first segment under RAM, and DATA is the ...
.zeropage
ZPLoc: .res 20
.bss
BSSLoc: .res 10
.data
DataLoc: .res 15
lda #ZPLoc
lda #BSSLoc
lda #DataLoc
ld65 config file
ZP starts at $0000
RAM starts at $0200
where BSS is the first segment under RAM, and DATA is the ...
- Thu Mar 21, 2024 2:45 am
- Forum: Emulation and Simulation
- Topic: 65(C)02 development tools - your thoughts
- Replies: 14
- Views: 9184
65(C)02 development tools - your thoughts
Hi guys,
I'm reading up on 65(C)02 assembly language and have started to look into the tools, i.e. assemblers, simulators, emulators...
There seems to be many tools and I'm kinda confused where to start:
http://6502.org/tools/
My daily driver is Linux. But I also use Windows in a virtual ...
I'm reading up on 65(C)02 assembly language and have started to look into the tools, i.e. assemblers, simulators, emulators...
There seems to be many tools and I'm kinda confused where to start:
http://6502.org/tools/
My daily driver is Linux. But I also use Windows in a virtual ...
- Thu May 20, 2021 1:46 am
- Forum: Hardware
- Topic: Power Circuit
- Replies: 28
- Views: 2095
Re: Power Circuit
Firefox6502, the circuit Enso posted is interesting, but you indicated you already have a 7805 and a heatsink. Not that you'll need much of a heatsink, but anyway... :)
I've edited your circuit, partly to correct the issues floobydust noted. It's helpful to clearly show *both* connections to the ...
I've edited your circuit, partly to correct the issues floobydust noted. It's helpful to clearly show *both* connections to the ...
- Thu May 20, 2021 1:35 am
- Forum: Hardware
- Topic: Power Circuit
- Replies: 28
- Views: 2095
Re: Power Circuit
Just out of curiosity, what is a 'raspberry pi 5.1V power supply'? I noticed at the raspi website a mention that one is required, but every device I've seen is powered by a usual 5V USB wallwart. I have a box of ones that claimed 2+ amps but were not providing that (as USB spec requires 500mA and ...
- Thu May 20, 2021 1:25 am
- Forum: Hardware
- Topic: Power Circuit
- Replies: 28
- Views: 2095
Re: Power Circuit
Unless I'm missing something, you have the battery and the Pi +5V supply coming in and going thru a pair of caps in parallel. Caps won't pass DC, so neither position of the switch will result in having +5V to power your circuit.
You are totally correct! Dumb mistake by me. I should have these caps ...
You are totally correct! Dumb mistake by me. I should have these caps ...
- Wed May 19, 2021 11:49 am
- Forum: Hardware
- Topic: Power Circuit
- Replies: 28
- Views: 2095
Re: Power Circuit
Hi guys,
Attached is my power circuit (pdf) designed from the information gathered within this thread.
I'd like to have a mobile 65C02 computer that I can take around with me. Size doesn't matter here (within reason).
What I'm trying to do is to have a circuit with two power sources, a Raspberry PI ...
Attached is my power circuit (pdf) designed from the information gathered within this thread.
I'd like to have a mobile 65C02 computer that I can take around with me. Size doesn't matter here (within reason).
What I'm trying to do is to have a circuit with two power sources, a Raspberry PI ...
- Mon Apr 26, 2021 12:29 am
- Forum: Newbies
- Topic: ATF16V8C glue logic, please check
- Replies: 24
- Views: 2920
Re: ATF16V8C glue logic, please check
Thank you very much Michael. I'm continuing to design and build.
- Sat Apr 24, 2021 11:05 pm
- Forum: Newbies
- Topic: ATF16V8C glue logic, please check
- Replies: 24
- Views: 2920
Re: ATF16V8C glue logic, please check
The other factor for the 128k devices for rom is cost. Buying new, a 32k eeprom (28C256) will likely cost you at least 5x a 128k flash (39SF010). Having just had a look at Mouser there's very little differecne between their 32k and 128k static rams. Getting the larger size adds flexibility for ...
- Mon Mar 01, 2021 1:14 am
- Forum: Newbies
- Topic: Communicating w65c51 with ft232rl usb
- Replies: 14
- Views: 5724
Re: Communicating w65c51 with ft232rl usb
Thanks for the heads up BDD. I have read up on the 65C51 bug. In the last 2 weeks I had changed my mind several times on which way to go, use a: 65C51, or an NXP UART, or even implement SPI which will open up a world of other chips (including UARTs)!
Some history which will help show you where my ...
Some history which will help show you where my ...
- Sat Feb 27, 2021 12:48 pm
- Forum: Newbies
- Topic: Communicating w65c51 with ft232rl usb
- Replies: 14
- Views: 5724
Re: Communicating w65c51 with ft232rl usb
Thanks GARTHWILSON and BDD. I've now looked up the DC Characteristics of both the 65C51 and the FTDI chips:
65C51
VOH MIN 2.4v
VOL MAX 0.4v
FTDI TTL-232-5V
VOH MIN 3.2v
VOL MAX 0.6
FTDI TTL-232-3V3
VOH MIN 2.2v
VOL MAX 0.6
Also thanks BDD for the lesson in "how to teach a man to fish ...
65C51
VOH MIN 2.4v
VOL MAX 0.4v
FTDI TTL-232-5V
VOH MIN 3.2v
VOL MAX 0.6
FTDI TTL-232-3V3
VOH MIN 2.2v
VOL MAX 0.6
Also thanks BDD for the lesson in "how to teach a man to fish ...
- Sat Feb 27, 2021 8:00 am
- Forum: Newbies
- Topic: Communicating w65c51 with ft232rl usb
- Replies: 14
- Views: 5724
Re: Communicating w65c51 with ft232rl usb
I'm trying to do this also, and have been reading up. But I'm stuck on one question: what output voltages comes out of the 65C51 TxD, RxD, CTS, RTS pins? Is it 5v, 3.3v, TTL, RS-232?
The W65C51S manual doesn't answer this.
I ask as I'm about to buy one of these below but want to make sure it will ...
The W65C51S manual doesn't answer this.
I ask as I'm about to buy one of these below but want to make sure it will ...
- Mon Feb 22, 2021 8:33 am
- Forum: Hardware
- Topic: My RS-232 / 6551 Design
- Replies: 41
- Views: 3815
Re: My RS-232 / 6551 Design
If you have SPI for other things already, one UART I have exercised (although not put to serious use yet), and like, is the MAX3100 :
small: 14-pin DIP or 16-pin QSOP or 24-"pin" (they're not really pins) TQFN
8-word transmit and receive buffers
has an IrDA mode as well
all common bit rates ...
small: 14-pin DIP or 16-pin QSOP or 24-"pin" (they're not really pins) TQFN
8-word transmit and receive buffers
has an IrDA mode as well
all common bit rates ...