first experience around 1976 on the HP 25 calculator
then at the University Fortran IV on Univac 1110
discovered the microprocessors around 1979 and became addicted to the 6502 (mainly commodore machines)
then Unix and C
Search found 15 matches
- Mon Nov 18, 2019 1:19 pm
- Forum: Programming
- Topic: Your first programming experience?
- Replies: 48
- Views: 7898
- Fri Nov 15, 2019 8:53 pm
- Forum: Programming
- Topic: 64tass strange behavior of macro
- Replies: 1
- Views: 615
64tass strange behavior of macro
I'm using 64tass to build an application composed of optional modules
to avoid a lengthy list of includes I created a macro
I have a table of all the modules with value 0 or 1 (one if wanted)
...
MODREGS = 1
MODLOAD = 1
MODEXIT = 0
...
DEFPKG .MACRO CMD, FILE
.IF MOD\CMD
.INCLUDE "commands ...
to avoid a lengthy list of includes I created a macro
I have a table of all the modules with value 0 or 1 (one if wanted)
...
MODREGS = 1
MODLOAD = 1
MODEXIT = 0
...
DEFPKG .MACRO CMD, FILE
.IF MOD\CMD
.INCLUDE "commands ...
- Thu Oct 31, 2019 11:04 am
- Forum: Newbies
- Topic: what differences between the w65c816sxb and w65c02sxb
- Replies: 2
- Views: 1447
what differences between the w65c816sxb and w65c02sxb
what differences between the w65c816sxb and w65c02sxb ?
I tried the w65c816sxb I'm so deceived that I'm thinking to trash it and buy the w65c02sxb
I found the board nice for it's speed, but I found the compiler and debugger useless
and I have problems with the w65c816sxb in emulation mode (while ...
I tried the w65c816sxb I'm so deceived that I'm thinking to trash it and buy the w65c02sxb
I found the board nice for it's speed, but I found the compiler and debugger useless
and I have problems with the w65c816sxb in emulation mode (while ...
- Wed Oct 30, 2019 12:13 pm
- Forum: Newbies
- Topic: Trying to figure out tho WDC C compiler
- Replies: 20
- Views: 3787
Re: Trying to figure out tho WDC C compiler
I contacted WDC about the compiler, they sent me an example working but not using the library
as soon as I tried their script with a source using the library I got the same problem :(
they told me that the compiler was not "seeing" the library
that on windows WDC_LIB was set automatically
I ...
as soon as I tried their script with a source using the library I got the same problem :(
they told me that the compiler was not "seeing" the library
that on windows WDC_LIB was set automatically
I ...
- Wed Oct 30, 2019 11:50 am
- Forum: Newbies
- Topic: Howto attach an Arduino UNO to the 6502
- Replies: 7
- Views: 2561
Re: Howto attach an Arduino UNO to the 6502
So at the cost of changing the 6502 by a more recent one,
it should be possible to interface an avr as easily as on a z80
it should be possible to interface an avr as easily as on a z80
- Wed Oct 30, 2019 10:08 am
- Forum: Newbies
- Topic: Howto attach an Arduino UNO to the 6502
- Replies: 7
- Views: 2561
Re: Howto attach an Arduino UNO to the 6502
frankly, there are some other techniques to connect an avr to a 6502 bus
in some cases, to emulate some IO controller
it is possible to insert a CPLD between the 6502 bus and the avr
the set of registers of the controller are inside the cpld and available on the 6502 bus
a write on a register ...
in some cases, to emulate some IO controller
it is possible to insert a CPLD between the 6502 bus and the avr
the set of registers of the controller are inside the cpld and available on the 6502 bus
a write on a register ...
- Mon Oct 28, 2019 9:12 pm
- Forum: General Discussions
- Topic: W65C816 bug ?
- Replies: 14
- Views: 1439
Re: W65C816 bug ?
My monitor is still in development
PC is wrong
IRQ is forced to 0000 in the display
the other registers are OK
disassembler/assembler/load & save hexa are working
I'm about to start on the trace
PC is wrong
IRQ is forced to 0000 in the display
the other registers are OK
disassembler/assembler/load & save hexa are working
I'm about to start on the trace
- Sun Oct 27, 2019 5:53 pm
- Forum: General Discussions
- Topic: W65C816 bug ?
- Replies: 14
- Views: 1439
Re: W65C816 bug ?
in fact nothing special, it just return to the caller
I was not expecting a reset while crossing $FFFF in emulation mode
I was not expecting a reset while crossing $FFFF in emulation mode
- Sun Oct 27, 2019 12:39 pm
- Forum: General Discussions
- Topic: W65C816 bug ?
- Replies: 14
- Views: 1439
Re: W65C816 bug ?
in fact I was wrong yesterday, it was not working
in my test, either in emulation or native,I get a reset
http://forum.6502.org/images/migrated/070956-000.png
I tested both native and emulation
(my mini assembler has no support for 65c816 so I code a nop then change the nop into XCE manually (FB ...
in my test, either in emulation or native,I get a reset
http://forum.6502.org/images/migrated/070956-000.png
I tested both native and emulation
(my mini assembler has no support for 65c816 so I code a nop then change the nop into XCE manually (FB ...
- Sat Oct 26, 2019 8:37 pm
- Forum: General Discussions
- Topic: W65C816 bug ?
- Replies: 14
- Views: 1439
Re: W65C816 bug ?
thanks All, it works
but now the problem is to understand how he left the emulation mode, I never explicitly set the native mode
is there a set of instructions to detect the mode native / emulation ?
something like:
XCE
PHP
XCE
PLP
BCC/BCS ?
or do I have to take the logic analyzer and use a ...
but now the problem is to understand how he left the emulation mode, I never explicitly set the native mode
is there a set of instructions to detect the mode native / emulation ?
something like:
XCE
PHP
XCE
PLP
BCC/BCS ?
or do I have to take the logic analyzer and use a ...
- Sat Oct 26, 2019 6:49 pm
- Forum: General Discussions
- Topic: W65C816 bug ?
- Replies: 14
- Views: 1439
Re: W65C816 bug ?
in emulation mode, it should wrap like a 6502/65c02...
do you know if it's a problem specific to this board
or generic to a w65c816 processors...
I have more and more doubts about this processor or at least the emulation mode
do you know if it's a problem specific to this board
or generic to a w65c816 processors...
I have more and more doubts about this processor or at least the emulation mode
- Sat Oct 26, 2019 4:09 pm
- Forum: General Discussions
- Topic: W65C816 bug ?
- Replies: 14
- Views: 1439
W65C816 bug ?
I'm playing with a w65c816sxb board
I had many problems with this board but I've been able to use it by replacing WDC firmware by my monitor
(my monitor works on 3 machines on the real 6502 the following code works
0400 LDA #$FE
0402 STA $04
0404 LDA #$FF
0406 STA $05
0408 LDY #$02
040A LDA ($04),Y ...
I had many problems with this board but I've been able to use it by replacing WDC firmware by my monitor
(my monitor works on 3 machines on the real 6502 the following code works
0400 LDA #$FE
0402 STA $04
0404 LDA #$FF
0406 STA $05
0408 LDY #$02
040A LDA ($04),Y ...
- Sat Oct 26, 2019 3:52 pm
- Forum: General Discussions
- Topic: Introduce yourself
- Replies: 716
- Views: 417995
Re: Introduce yourself
Interested in the 6502 since 1979, I worked for Procep (official importer of Commodore machines in France)
I developed mostly for the commodore 8000 I was also doing the support of the Procep hard disk (sasi/scsi) and network
I have several personal hardware projects, mainly to repair commodore ...
I developed mostly for the commodore 8000 I was also doing the support of the Procep hard disk (sasi/scsi) and network
I have several personal hardware projects, mainly to repair commodore ...
- Wed Oct 23, 2019 6:52 pm
- Forum: Newbies
- Topic: Howto attach an Arduino UNO to the 6502
- Replies: 7
- Views: 2561
Re: Howto attach an Arduino UNO to the 6502
the avr on an arduino uno is not fast enough to implement read/write
note the swinsid is a special case the avr is highly overclocked and the read is not implemented
the 6502 can only write in the swinsid (in the version I saw a few years ago)
but I guess you can do what you want with a propeller ...
note the swinsid is a special case the avr is highly overclocked and the read is not implemented
the 6502 can only write in the swinsid (in the version I saw a few years ago)
but I guess you can do what you want with a propeller ...
- Wed Oct 23, 2019 1:11 pm
- Forum: Newbies
- Topic: Trying to figure out tho WDC C compiler
- Replies: 20
- Views: 3787
Re: Trying to figure out tho WDC C compiler
At least they could provide an empty stub with the functions to implement
with the list of functions and some indication of what each function should do
for example as in the customisation kit for multiplan/word in 1985
finally all that is not very serious
- tide.exe not working
- debugger working ...
with the list of functions and some indication of what each function should do
for example as in the customisation kit for multiplan/word in 1985
finally all that is not very serious
- tide.exe not working
- debugger working ...