Jump to content
IGNORED

6502


Wally1

Recommended Posts

Well

 

after some serious soul searching

 

I have decided to return to 6502

and not pursue 68000 assembly anymore.

 

To me, 6502 is much more elegant and more bang per byte.

 

All 56 instructions are 3 character symmetrical

and I can really wrap my noodle around its structure and stuff...

 

I was really barking up the wrong tree with 68K!

 

And to share a side note with whoever is reading this

i was half asleep and my higher self (you can call that the subconscious or

the fact that the soul ascends to Heaven when we sleep, i.e. G-D)

 

was the determining factor that pretty much said to me:

 

'return to 6502'.

 

So there you have it.

 

I would love some feedback guys.

 

I posted this also in the ST section.

 

but not this part:

to anyone who is interested

I coded a mini app for the Assembler/Editor cart

that will print the 8 bit status register, like this:

 

S   V       B   D   I   Z   C

0     0             1     0      0     1     0          (for example)

it gives the selected bits that are set.

 

I just gotta either get a SIO2PC or i dont know what to post the util on AtariAge for youse guys.

 

i think it can be useful

 

Edited by Wally1
  • Like 2
Link to comment
Share on other sites

Different processor appeal to different people, and that's okay. Everyone has their favorites. Personally, I love the 6502, Z80, 680x0, PowerPC, SuperH, and MIPS processors. I can't stand the x86 or ARM, which makes me sad since x86 and ARM dominate the market now.

 

An SIO2PC or SIO2SD is very helpful in development, and transferring stuff both to and from the Atari. I love my SIO2SD. It's certainly more useful than my AtariMAX cart (not that the cart isn't useful, just not AS useful).

Link to comment
Share on other sites

Well, frankly, the 68K is considerably more orthogonal than the 6502. There are only two types of registers, and every instruction works on every register. The 6502 is not quite so symmetric. X and Y have different roles and work differently, many instructions only operate on A, and not on Y and X.

 

In the end, it is pretty much an apples to oranges comparison. The 6502 was considerably earlier on the market, it was not designed as part of a processor family as the 68K was. As far as the number of operations per cycle, the 68060 is certainly better than the 6502 - but then again, a completely different beast.

 

The 68K was microprogrammed, the 6502 was hardwired. It's clear that the 6502 performs more operations per cycle. Though can do more things as well, llike multiply or divide.

  • Like 2
Link to comment
Share on other sites

On ‎9‎/‎8‎/‎2019 at 7:56 PM, Wally1 said:

I have decided to return to 6502

and not pursue 68000 assembly anymore.

 

To me, 6502 is much more elegant and more bang per byte.

 

All 56 instructions are 3 character symmetrical

and I can really wrap my noodle around its structure and stuff...

 

I was really barking up the wrong tree with 68K!

 

And to share a side note with whoever is reading this

i was half asleep and my higher self (you can call that the subconscious or

the fact that the soul ascends to Heaven when we sleep, i.e. G-D)

 

was the determining factor that pretty much said to me:

 

'return to 6502'.

 

Ughhhhh -  I have to disagree from personal experience.

 

I have been regularly switching between 6502 and 68000 and RISC Assembler (GPU/DSP on Jaguar) for quite some time now - most recent switch was about 6 weeks ago when I coded my flatshading engine for Lynx and did all major pipeline stages in 6502C Asm. About a week ago I switched back to 68000 & RISC. It's like I suddenly got areo wings with twin turbochargers and quad nitro.

 

That downgrade switch is brutal, on 68000, majority of code is self-documenting, but on 6502, with just one useable register (and two indices), every page of code looks exactly the same, after you step away for a week. While every assembler is made more useable via macros, 6502 without macros is just plain tedious gibberish, after a week.

 

On ‎9‎/‎8‎/‎2019 at 7:56 PM, Wally1 said:

after some serious soul searching

How about you do some soul searching after you do something in 6502 (say, 50 pages of code), step aside from it for couple weeks and then come back to make major changes to it ? :)

 

On ‎9‎/‎8‎/‎2019 at 7:56 PM, Wally1 said:

  i was half asleep and my higher self (you can call that the subconscious or

the fact that the soul ascends to Heaven when we sleep, i.e. G-D)

 

was the determining factor that pretty much said to me:

 

'return to 6502'.

 

You don't have to do all the work for the Devil. Let him earn his salary and bust his balls for your soul at least a bit ! Put up a fight ! Spit in his face, snatch his tail!

Or, better yet, dive deep into 68000. That'll show that lazy fiery bastard!

 

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...
On 9/9/2019 at 3:56 AM, Wally1 said:

I just gotta either get a SIO2PC or i dont know what to post the util on AtariAge for youse guys.

 

i think it can be useful

 

Unless you insist on programming on real hardware WUDSN IDE (based on Eclipse) makes it a lot easier to program and debug.

 

There's something to VladR's comment, however, that all 6502 code looks identical after three weeks of not looking at it....;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...