Search found 761 matches
- Sun Mar 09, 2025 4:54 pm
- Forum: General Discussions
- Topic: Belated return to the forumdd
- Replies: 2
- Views: 1578
Belated return to the forumdd
Well it’s been nearly two years since my last post on the forum: 31 May 2023. Very glad to see that that forum is still going strong. Three grandchildren, a heavier workload, and a 11 month Executive MBA in 2024 interrupted my participation on the forum. Glad to see many of the same names still ...
- Wed May 31, 2023 10:42 pm
- Forum: General Discussions
- Topic: What would you change in 1974 with Mensch & Peddle
- Replies: 90
- Views: 132277
Re: What would you change in 1974 with Mensch & Peddle
Although I haven’t contributed anything meaningful to the forum regarding my 6502-related activities in quite some time, I check the site frequently. Often learn something that I can apply in my day job; that is a concrete benefit to me and others here.
I hope to continue this learning process, and ...
I hope to continue this learning process, and ...
- Mon May 01, 2023 3:49 am
- Forum: Hardware
- Topic: Diode ROM and Serial Bootloader
- Replies: 7
- Views: 1578
Re: Diode ROM and Serial Bootloader
Although I’ve not tried it with the 22V10 PALs, I did try it with the Coolrunner II CPLD family. I was surprised at how much of my soft-core’s microcode could be packed into these devices. The Coolrunner II parts are more like Programmable Logic Arrays (PLA) than the 22V10, but either part can ...
- Thu Feb 02, 2023 9:59 pm
- Forum: Programming
- Topic: "Pass by reference" with a data stack
- Replies: 5
- Views: 1637
Re: "Pass by reference" with a data stack
Second BDD’s response. Although my enhanced soft-core is not in a working state at the moment, I too included a full set of these type of stack-relative instructions in its instruction set. I also included a base-pointer relative mode, where I use X loaded with the value of S at the start of the ...
- Thu Dec 29, 2022 12:56 am
- Forum: General Discussions
- Topic: SBC and carry flag
- Replies: 8
- Views: 3875
Re: SBC and carry flag
The operation of the carry flag in the 6502 architecture is like an active low borrow flag. In other words, when the carry is 0, a borrow has occurred.
The operation of the SBC instruction is: A = A + ~M + C. In other words, the contents of the accumulator are added to the 1's complement (bit wise ...
The operation of the SBC instruction is: A = A + ~M + C. In other words, the contents of the accumulator are added to the 1's complement (bit wise ...
- Thu Dec 01, 2022 11:07 pm
- Forum: Forth
- Topic: Architectures That Can't Run Forth
- Replies: 15
- Views: 13648
Re: Architectures That Can't Run Forth
Well I haven't posted here on 6502.org often in the past few years. As a consequence I lost my post.
I think you'd have to classify the PIC16 family as a "Turing Complete" instruction set architecture. Therefore, although it could be wildly inefficient, I would think that there is an implementation ...
I think you'd have to classify the PIC16 family as a "Turing Complete" instruction set architecture. Therefore, although it could be wildly inefficient, I would think that there is an implementation ...
- Tue Jul 12, 2022 11:35 pm
- Forum: Programming
- Topic: Languages other than Forth that use ITC or DTC interpreters
- Replies: 11
- Views: 2252
Re: Languages other than Forth that use ITC or DTC interpret
Kenneth Cochran wrote:
But threaded code seems to be almost exclusively a technique of Forth compilers.
- Thu Jun 23, 2022 1:44 pm
- Forum: Hardware
- Topic: Simple Bell 202 implementation
- Replies: 19
- Views: 2481
Re: Simple Bell 202 implementation
Never mind. The application note that I was thinking applied to the Bell 202 modem instead applies to the Bell 212A/V.22 modem. It is a good backgrounder on the elements / modules needed for a modem, but the modulation scheme is Differential Phase Shift Keying (DPSK), and not the Frequency Shift ...
- Thu Jun 23, 2022 11:26 am
- Forum: Hardware
- Topic: Simple Bell 202 implementation
- Replies: 19
- Views: 2481
Re: Simple Bell 202 implementation
I don’t have access to the document at the moment, but IIRC, Texas Instruments wrote a very detailed application note on implementation of a Bell 202 modem with one of their DSPs. It described all of the modules required in detail, especially clock recovery. Maybe such a recipe may help your efforts ...
- Sat Jun 18, 2022 2:13 pm
- Forum: Hardware
- Topic: shoving addresses into the program counter typo?
- Replies: 3
- Views: 501
Re: shoving addresses into the program counter typo?
I think Ed's comment about the software vs. hardware view of the process is on target. The sentence in question causes some confusion by not identifying that the second and third bytes must be held in internal registers / latches that are not visible to the programmer. It is from these internal ...
- Wed Jun 08, 2022 12:37 am
- Forum: Programming
- Topic: LLVM-MOS codegen talk
- Replies: 2
- Views: 759
Re: LLVM-MOS codegen talk
Thanks John for providing the link. I enjoyed it very much. Congratulations to mysterymath and the team. I look forward for future updates and talks.
- Tue Mar 22, 2022 11:04 pm
- Forum: Programming
- Topic: 8086 emulator
- Replies: 24
- Views: 3599
Re: 8086 emulator
MicroCoreLabs' suggestion has merit. Furthermore, the implementation of the 8086 microcode in 6502 assembler can be optimized after initial implementation and validation of the simulation to improve the simulation speed.
- Tue Mar 22, 2022 1:13 pm
- Forum: Programming
- Topic: 8086 emulator
- Replies: 24
- Views: 3599
Re: 8086 emulator
For prefix bytes, cascade into a separate tree of instruction decode. This requires one root table of 256 cases plus one additional table for every prefix. I implemented my M65C02A soft-core processor extensions using prefix instructions, and I only maintain a single root table for all of the ...
- Mon Mar 14, 2022 9:57 pm
- Forum: Programmable Logic
- Topic: M65C02A Core
- Replies: 136
- Views: 124091
Re: M65C02A Core
When programming in assembly language, or perhaps using a non-recursive descent compiler without too much intelligence, it's fairly easy to set up the evaluation order of the operands for instructions like CMP and SUB/SBC where operand order is important. On the other hand, having done only a ...
- Mon Mar 14, 2022 7:22 pm
- Forum: Programmable Logic
- Topic: M65C02A Core
- Replies: 136
- Views: 124091
Re: M65C02A Core
Updated the M65C02A repository with a new instruction set map. The new instruction set map is for the M65C02B. The M65C02B is a modification of the base instruction set of M65C02A soft-core processor.
The M65C02A has five unused opcodes in Column 2. One of these is reserved for a co-processor, and ...
The M65C02A has five unused opcodes in Column 2. One of these is reserved for a co-processor, and ...