Search found 183 matches

by Garth
Mon May 27, 2019 12:14 pm
Forum: General Stuff
Topic: Technology-related stuff that stays the same in long-term
Replies: 17
Views: 13963

Re: Technology-related stuff that stays the same in long-ter

Bikes. Sure, they got disk brakes and other new fancy stuff, but often this is optional. You can use a 50-year old bike and, assuming you replaced the parts that needed replacement, it'll still work great today, and - as opposed to 50-year old car - nobody will immediately notice how old the bike i...
by Garth
Mon May 27, 2019 11:50 am
Forum: General Stuff
Topic: Information on WDC's vaporware 32bit 65xx CPU?
Replies: 11
Views: 9826

Re: Information on WDC's vaporware 32bit 65xx CPU?

No; the point would have been to make a machine (let's call it an Apple IIx for the sake of discussion) which can, while multitasking, run 32-bit IIx programs,at the same time with II GS programs that have not been recompiled for the new processor, at the same time with 8-bit Apple II programs whic...
by Garth
Mon May 27, 2019 12:43 am
Forum: General Stuff
Topic: Information on WDC's vaporware 32bit 65xx CPU?
Replies: 11
Views: 9826

Re: Information on WDC's vaporware 32bit 65xx CPU?

You're wanting information on the incomplete W65T32, or the 65C832 . It's a 65C816-compatible CPU. Read: it offers no new general-purpose registers (still stuck with A/X/Y), just that they can be 8/16/24/32-bit. You don't get any new instructions (still no bloody mul/div), no new addressing modes, ...
by Garth
Fri May 24, 2019 9:33 pm
Forum: General Stuff
Topic: Information on WDC's vaporware 32bit 65xx CPU?
Replies: 11
Views: 9826

Re: Information on WDC's vaporware 32bit 65xx CPU?

The impression I had (I don't have any references, maybe Garth would know) was that the 65C832 may have been planned around the same time as the 65C816, and that the W65T32 "Terbium" was something else from a later time. I just remember back when I was first learning about 6502 stuff, this Terbium ...
by Garth
Fri May 10, 2019 6:14 pm
Forum: General Stuff
Topic: "Modern compilers will outperform handwritten assembly."
Replies: 19
Views: 13992

Re: "Modern compilers will outperform handwritten assembly."

I suspect the idea that compilers can outperform handwritten assembly comes from modern 32- and 64-bit multi-core high-end processors that have super-complex instructions, deep pipelines that must be kept full, multi-level cache, out-of order execution, and things that simply don't apply to the 650...
by Garth
Fri May 10, 2019 1:54 pm
Forum: General Stuff
Topic: "Modern compilers will outperform handwritten assembly."
Replies: 19
Views: 13992

Re: "Modern compilers will outperform handwritten assembly."

I suspect the idea that compilers can outperform handwritten assembly comes from modern 32- and 64-bit multi-core high-end processors that have super-complex instructions, deep pipelines that must be kept full, multi-level cache, out-of order execution, and things that simply don't apply to the 6502...
by Garth
Sat May 04, 2019 5:40 pm
Forum: General Stuff
Topic: website builder
Replies: 2
Views: 15880

Re: website builder

I have a voluminous 6502 website , all written with a plain text editor, directly in html. HTML's basics are pretty simple, and most people here are probably interested in programming anyway. I have made up a couple of cheat sheets for myself, for the tags and special characters I use sometimes but ...
by Garth
Sun Apr 07, 2019 8:54 pm
Forum: General Stuff
Topic: What have you learnt most from programming in assembly?
Replies: 28
Views: 21057

Re: What have you learnt most from programming in assembly?

Efficiency, something I'm a bit OCD about. I have taken things from HLLs and applied them to assembly, like my program flow-control structure macros . (There are a couple of extended examples near the end of the page in my multitasking article , and I tell more of how the innards of the macros const...
by Garth
Tue Mar 05, 2019 8:48 pm
Forum: NESdev
Topic: have you ever used recursion on the NES?
Replies: 23
Views: 11012

Re: have you ever used recursion on the NES?

I have hardly used it. Section 15 of my 6502 stacks treatise is about recursion though, at http://wilsonminesco.com/stacks/recurse.html . It naturally follows section 14 which is about local variables and environments. What is funny about recursion is that the examples to show how amazing this is a...
by Garth
Mon Mar 04, 2019 10:37 pm
Forum: NESdev
Topic: have you ever used recursion on the NES?
Replies: 23
Views: 11012

Re: have you ever used recursion on the NES?

I'm not sure this is really a "NES thing" but moreso a general "have you ever used recursion on the 6502, and if so, to solve what thing?" question. But an excellent question BTW. I remember using recursion in a couple ways in a IIGS demo I worked on, but I can't remember exactly for what. I just r...
by Garth
Sun Mar 03, 2019 10:31 pm
Forum: Newbie Help Center
Topic: A few quick programming questions
Replies: 3
Views: 6523

Re: A few quick programming questions

ect. Indexed Indirect addressing is hardly used by anyone. Most 6502 programmers even question the reason for its existence at one point or another. You got it right, though. It lets you use a table of pointers in ZP, but the only real world example of that being useful that most NES programmers ca...
by Garth
Thu Feb 21, 2019 6:50 pm
Forum: General Stuff
Topic: The Difficulty of ARM Assembly
Replies: 57
Views: 26485

Re: The Difficulty of ARM Assembly

TmEE wrote:Assembler is supposed to be the thing that turns code into program, not the code itself...
Right. "Assembler" is what the tool is called. The language is "assembly language," not "assembler." The constant misuse of terms does bother me.
by Garth
Tue Feb 19, 2019 1:33 pm
Forum: General Stuff
Topic: The Difficulty of ARM Assembly
Replies: 57
Views: 26485

Re: The Difficulty of ARM Assembly

The 6809 had a really nice instruction set, but it didn't really perform any better than the 6502. The 65816 is a much better upgrade IMO, and the SuperCPU ran it at 20MHz over 20 years ago. Why does the 65816 perform better? Is it because the 6809 takes an extra instruction fetch on indexing instr...
by Garth
Tue Feb 19, 2019 1:56 am
Forum: General Stuff
Topic: The Difficulty of ARM Assembly
Replies: 57
Views: 26485

Re: The Difficulty of ARM Assembly

The 6809 had a really nice instruction set, but it didn't really perform any better than the 6502. The 65816 is a much better upgrade IMO, and the SuperCPU ran it at 20MHz over 20 years ago.
by Garth
Mon Feb 18, 2019 1:34 am
Forum: General Stuff
Topic: The Difficulty of ARM Assembly
Replies: 57
Views: 26485

Re: The Difficulty of ARM Assembly

65xx at 32-bit (or 16-bit for that matter) would work so much better if they just widened the data bus. You'd lose drop-in compatibility, but the alternative - which WDC seems to have chosen - is to let 65xx die chained to the archaic bus interface of the 6502. Imagine if x64 was still using the sa...