BillG wrote:
Search found 18 matches
- Thu Feb 16, 2023 8:06 pm
- Forum: Programming
- Topic: Calypsi C compiler toolchain for 6502 and 65816
- Replies: 81
- Views: 15197
Re: Calypsi C compiler toolchain for 6502 and 65816
Meanwhile reachable only at https://web.archive.org/web/20211126214 ... _instr.pdf
- Fri Nov 06, 2020 10:04 am
- Forum: Forth
- Topic: extra stack operators
- Replies: 37
- Views: 24989
Re: extra stack operators
Not only is the underscore character not on the C64 keyboard, it is not even in the PETSCII character set.
Does the ROM get copied to RAM, such that you can alter the character set? My HP-71 lets you load in different character sets, telling it what dots to turn on for each; so although it comes ...
Does the ROM get copied to RAM, such that you can alter the character set? My HP-71 lets you load in different character sets, telling it what dots to turn on for each; so although it comes ...
- Mon Dec 31, 2018 3:49 pm
- Forum: Forth
- Topic: Relative addressing for BPL etc in a 65c02 disassembler
- Replies: 17
- Views: 6098
Re: Relative addressing for BPL etc in a 65c02 disassembler
Since there's already a S>D word that extends a single to a double, you could shorten the name above to something like B>N.
Since words that operate on a byte in Forth tend to start with a 'C' such as C@ C! and C, what about naming it C>S ?
AFAIK the C prefix words seems to be more for memory ...
Since words that operate on a byte in Forth tend to start with a 'C' such as C@ C! and C, what about naming it C>S ?
AFAIK the C prefix words seems to be more for memory ...
- Tue Nov 21, 2017 9:30 pm
- Forum: Programming
- Topic: 6502 MS Basic in details (FLOAT2-FOUT functions)
- Replies: 4
- Views: 1673
Re: 6502 MS Basic in details (FLOAT2-FOUT functions)
#JeeK, do you happen to know what are the proper parameters when calling LIST function? It does actually work just by "jsr LIST" but there are at least Z and C flags and Reg-A involved. I'm writing SAVE and LOAD functions. I was going to use LIST cmd without screen output for SAVE and GETC (also ...
- Tue Oct 10, 2017 1:40 pm
- Forum: Programming
- Topic: 6502 MS Basic in details (FLOAT2-FOUT functions)
- Replies: 4
- Views: 1673
Re: 6502 MS Basic and FLOAT2-FOUT functions
Hi,
Maybe someone whom knows 6502 MS BASIC very well could assist me. I try to debug what FLOAT2 and FOUT functions do.
FLOAT2 input:
FAC+1 LO byte of mantissa
FAC+2 HI byte of mantissa
X = exponent, but in which format? For integer $90?
FLOAT2 output:
FAC ?
FAC+1 ?
FAC+2 ?
FAC+3 ?
My main ...
Maybe someone whom knows 6502 MS BASIC very well could assist me. I try to debug what FLOAT2 and FOUT functions do.
FLOAT2 input:
FAC+1 LO byte of mantissa
FAC+2 HI byte of mantissa
X = exponent, but in which format? For integer $90?
FLOAT2 output:
FAC ?
FAC+1 ?
FAC+2 ?
FAC+3 ?
My main ...
- Tue Oct 10, 2017 12:03 pm
- Forum: Hardware
- Topic: New 65816 SBC
- Replies: 7
- Views: 1827
Re: New 65816 SBC
You might find Supermon 816 useful, as it runs on the '816 in native mode.
Thanks, will check it out!
Maybe you will find Jammon (Jamaica Monitor) also useful. Despite it's old, it works nicely at least for my environment. I translated it to the ACME assembler syntax for better integration into ...
Thanks, will check it out!
Maybe you will find Jammon (Jamaica Monitor) also useful. Despite it's old, it works nicely at least for my environment. I translated it to the ACME assembler syntax for better integration into ...
- Sun Oct 01, 2017 10:02 am
- Forum: General Discussions
- Topic: Was the original 6502 pipelined?
- Replies: 9
- Views: 2765
Re: Was the original 6502 pipelined?
Only in a very limited sense, in that sometimes the fetch of the next opcode is overlapped with the final part of the previous instruction.
Also, I'm fairly sure the original Z80 wasn't pipelined either, at least not the ones from the 1970s.
It seems really just an overlapping too ... http://www ...
Also, I'm fairly sure the original Z80 wasn't pipelined either, at least not the ones from the 1970s.
It seems really just an overlapping too ... http://www ...
- Sat Sep 30, 2017 11:20 am
- Forum: Forth
- Topic: 6502 Assembler in 96 lines of Forth (July 1980)
- Replies: 21
- Views: 26350
Re: 6502 Assembler in 96 lines of Forth (July 1980)
This seems like a good thread for the 1991 text document B.Y.O.ASSEMBLER -or- Build Your Own (Cross-) Assembler....in Forth by Brad Rodriguez - there's a lot more by him nearby including the Moving Forth series.
B.Y.O.ASSEMBLER perfectly describes how this kind of assembler are designed and built ...
B.Y.O.ASSEMBLER perfectly describes how this kind of assembler are designed and built ...
- Fri Sep 29, 2017 7:51 pm
- Forum: General Discussions
- Topic: Overview of 6502-like cores, hard, soft, partial, overblown
- Replies: 34
- Views: 45295
Re: Overview of 6502-like cores, hard, soft, partial, overbl
I think nobody mentioned it previously. Wouldn't it be great to have such a list (summed up from the above) on http://6502org.wikidot.com?
- Thu Sep 28, 2017 11:05 am
- Forum: Forth
- Topic: Getting started in Forth
- Replies: 36
- Views: 17295
Re:
HEADER "0branch", NOT_IMMEDIATE
0branch: PRIMITIVE
INX2
LDA FFFE,X
BEQ branch+2
.
.
.
By the way, you might want to make that $FFFFFE,X (i.e. long,X addressing) since abs,X will cross bank boundaries, so this will read from bank 1 (assuming the DBR is 0). I am guessing you're using this on a ...
0branch: PRIMITIVE
INX2
LDA FFFE,X
BEQ branch+2
.
.
.
By the way, you might want to make that $FFFFFE,X (i.e. long,X addressing) since abs,X will cross bank boundaries, so this will read from bank 1 (assuming the DBR is 0). I am guessing you're using this on a ...
- Sun Sep 24, 2017 4:57 pm
- Forum: General Discussions
- Topic: WDC Errata
- Replies: 17
- Views: 5287
Re: WDC Errata
...
Note 1 on page 38, immediately after table 5-5:
...
From the scope of this specific document, since it explicitly defines the symbols, those are the one we should use. The other document (which I have not read) has no bearing on the matter, even if the symbols used there are more conventional ...
- Sun Sep 24, 2017 1:48 pm
- Forum: General Discussions
- Topic: WDC Errata
- Replies: 17
- Views: 5287
Re: WDC Errata
I agree, but since WDC went to the effort of specifying their syntax I feel we ought to use it for consistency.
At least for "Programming the 65816" (see page 433, the opcode table), they don't really have the problem to go with the common logical symbols for AND, OR and XOR operators. And we can ...
At least for "Programming the 65816" (see page 433, the opcode table), they don't really have the problem to go with the common logical symbols for AND, OR and XOR operators. And we can ...
- Sun Sep 24, 2017 1:37 pm
- Forum: General Discussions
- Topic: WDC Errata
- Replies: 17
- Views: 5287
Re: WDC Errata
WDC W65C816S 8/16-bit Microprocessor
13 September, 2010
11 November, 2016
p. 35, Table 5-4 Opcode Matrix
MSB 0, LSB C: TSB: blue
MSB 7, LSB A: PLY: blue
MSB B, LSB 2: LDA (d): blue
MSB *, LSB 6: white
MSB *, LSB 7: red
< blue = new instruction
> blue = 65C02 + 65802/65816
< red = Old ...
13 September, 2010
11 November, 2016
p. 35, Table 5-4 Opcode Matrix
MSB 0, LSB C: TSB: blue
MSB 7, LSB A: PLY: blue
MSB B, LSB 2: LDA (d): blue
MSB *, LSB 6: white
MSB *, LSB 7: red
< blue = new instruction
> blue = 65C02 + 65802/65816
< red = Old ...
- Sat Sep 23, 2017 11:49 pm
- Forum: General Discussions
- Topic: WDC Errata
- Replies: 17
- Views: 5287
Re: WDC Errata
Programming the 65816
Some typos, but also missing clarfication about some addressing modes.
See also 65816 Addressing modes and cycle counts.
p. 4, p. 177
< JRS Using Absolute Indexed Indirect Addressing
--
> JSR Using Absolute Indexed Indirect Addressing
p. 52, para. 3:
In the 6502 ...
Some typos, but also missing clarfication about some addressing modes.
See also 65816 Addressing modes and cycle counts.
p. 4, p. 177
< JRS Using Absolute Indexed Indirect Addressing
--
> JSR Using Absolute Indexed Indirect Addressing
p. 52, para. 3:
In the 6502 ...
- Sat Sep 23, 2017 11:11 pm
- Forum: General Discussions
- Topic: WDC Errata
- Replies: 17
- Views: 5287
Re: WDC Errata
WDC W65C816S 8/16-bit Microprocessor
13 September, 2010
11 November, 2016
p. 35, Table 5-4 Opcode Matrix
MSB 0, LSB C: TSB: blue
MSB 7, LSB A: PLY: blue
MSB B, LSB 2: LDA (d): blue
MSB *, LSB 6: white
MSB *, LSB 7: red
< blue = new instruction
> blue = 65C02 + 65802/65816
< red = Old ...
13 September, 2010
11 November, 2016
p. 35, Table 5-4 Opcode Matrix
MSB 0, LSB C: TSB: blue
MSB 7, LSB A: PLY: blue
MSB B, LSB 2: LDA (d): blue
MSB *, LSB 6: white
MSB *, LSB 7: red
< blue = new instruction
> blue = 65C02 + 65802/65816
< red = Old ...