6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Apr 27, 2024 1:22 pm

All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Where have I been?
PostPosted: Tue Mar 05, 2024 11:46 am 
Offline

Joined: Sat Oct 09, 2021 11:21 am
Posts: 703
Location: Texas
It's been a while since I posted on the forum. Let me tell you why!

After making the '816 computer (here viewtopic.php?f=4&t=7939), and still not able to program in C, I decided it was time to switch gears. Although I do enjoy 6502 assembly, I really *really* wanted to just program in C again. So I made a PIC-only computer instead!

https://github.com/stevenchadburrow/AcolyteHandPICd

I know that it's not 6502 related, so I won't go into details here. If you are interested you can see my github page or you can always PM me.

None of this would have been possible without the help that y'all gave me for many years now. I have learned SO MUCH and am very thankful for all of your help and support along the way.

Thank you everyone!

Chad


Top
 Profile  
Reply with quote  
 Post subject: Re: Where have I been?
PostPosted: Tue Mar 05, 2024 2:56 pm 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1398
Location: Scotland
Looks good. Thanks for the update.

Always better to have something you're happy to use and achieve than to struggle on against the tools, environment, etc. I think.

I have always felt C on the '816 is an issue - dealing with data structures, short/near/far/long whatever pointers and so on. Having to think about the things I let compilers and operating systems deal with 4 decades ago.... It's highly unlikely I'll ever do another '816 project myself now.

Hope you have lots of fun with it!

Cheers,

-Gordon

_________________
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/


Top
 Profile  
Reply with quote  
 Post subject: Re: Where have I been?
PostPosted: Tue Mar 05, 2024 5:46 pm 
Offline
User avatar

Joined: Sun Jun 30, 2013 10:26 pm
Posts: 1926
Location: Sacramento, CA, USA
drogon wrote:
... Having to think about the things I let compilers and operating systems deal with 4 decades ago.... It's highly unlikely I'll ever do another '816 project myself now.

There are those among us who thrive on the minutiae, and happily juggle their dangerously hot coffees while driving their manual transmission cars to work every day ... that being said, I'm "just not that into" the 16-bit "native" properties of the '816, so I empathize with your position.

Oh, and welcome back, Chad! Thanks for checking in, at least.

_________________
Got a kilobyte lying fallow in your 65xx's memory map? Sprinkle some VTL02C on it and see how it grows on you!

Mike B. (about me) (learning how to github)


Top
 Profile  
Reply with quote  
 Post subject: Re: Where have I been?
PostPosted: Tue Mar 05, 2024 7:48 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8144
Location: Midwestern USA
barrym95838 wrote:
There are those among us who thrive on the minutiae, and happily juggle their dangerously hot coffees while driving their manual transmission cars to work every day ...

In most major cities, stick shift cars are less likely to be carjacked, mainly because the would-be thieves don’t know what that extra pedal is for.  :D

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
 Post subject: Re: Where have I been?
PostPosted: Tue Mar 05, 2024 7:51 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8144
Location: Midwestern USA
sburrow wrote:
After making the '816 computer (here viewtopic.php?f=4&t=7939), and still not able to program in C, I decided it was time to switch gears. Although I do enjoy 6502 assembly, I really *really* wanted to just program in C again. So I made a PIC-only computer instead!

Oh dear!!!  How could anyone descend to the level of a PIC?  :D

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
 Post subject: Re: Where have I been?
PostPosted: Tue Mar 05, 2024 8:19 pm 
Offline

Joined: Mon Jan 19, 2004 12:49 pm
Posts: 660
Location: Potsdam, DE
Please tell me it wasn't a PIC-14? To voluntarily choose that would surely be the height of self-abnegation... :o

(In a previous job I spent five years writing PIC-14 assembly, with added constraints of which pins might be used for which functions, based on practical experience of how they failed once the operating temperature got above 150C (302F). Let's just say that they have certain quirks which can make them, um, difficult.)

Neil


Top
 Profile  
Reply with quote  
 Post subject: Re: Where have I been?
PostPosted: Tue Mar 05, 2024 8:53 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8428
Location: Southern California
barnacle wrote:
Please tell me it wasn't a PIC-14? To voluntarily choose that would surely be the height of self-abnegation... :o

I've never heard of PIC14.  Do you mean PIC16, which has 14-bit program words?  I've designed PIC12's into a few products too, PIC12 basically being 8-pin PIC16's.  I think the PIC10's are 6-pin PIC16's; but I'd have to check again, as I've never used them.  But to pull this topic back to the required 65xx content, I use macros to implement 6502-style instructions to hide some the mickeymousities of PIC16.  They take some of the pain out of PIC programming.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
 Post subject: Re: Where have I been?
PostPosted: Wed Mar 06, 2024 1:53 am 
Offline

Joined: Sat Nov 26, 2016 2:49 pm
Posts: 24
Location: Tejas
I'm just shocked that he went with a PIC18. A '24 is *much* less insane (at the assembly) level the the PIC18.


Top
 Profile  
Reply with quote  
 Post subject: Re: Where have I been?
PostPosted: Wed Mar 06, 2024 6:31 am 
Offline

Joined: Mon Jan 19, 2004 12:49 pm
Posts: 660
Location: Potsdam, DE
oops, yes: pic16 with 14-bit words. Obviously I've tried to forget :mrgreen:

Neil


Top
 Profile  
Reply with quote  
 Post subject: Re: Where have I been?
PostPosted: Wed Mar 06, 2024 1:04 pm 
Offline
User avatar

Joined: Mon Aug 30, 2021 11:52 am
Posts: 251
Location: South Africa
If it will entice you back to 65816 land; I'm still working on a C++ like* compiler for the '816.

Should you hold your breathe whilst waiting? Nope, I'm a couple of years into the project and can still see many years of work ahead. Will it ever be finished? Probably. I'm too far down the '816 hardware path to back out now. And, like you, I program much faster in C/C++ than in native assembly.

* Most of C++98 with bits of C++11 that I use thrown in.


Top
 Profile  
Reply with quote  
 Post subject: Re: Where have I been?
PostPosted: Wed Mar 06, 2024 7:59 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8144
Location: Midwestern USA
AndrewP wrote:
And, like you, I program much faster in C/C++ than in native assembly.

Macros, my friend.  Macros!  :D

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
 Post subject: Re: Where have I been?
PostPosted: Thu Mar 07, 2024 12:16 pm 
Offline
User avatar

Joined: Mon Aug 30, 2021 11:52 am
Posts: 251
Location: South Africa
BigDumbDinosaur wrote:
Macros, my friend. Macros! :D
I really should get better at macros - in any architecture's assemblers. I mostly just use them for very basic stuff like changing memory widths etc...

The other reason I need a C++ compiler is I have *decades* of highly optimised C++ code that would make a brilliant foundation for building, well, anything on the '816 really. And none of it has dependencies on external libraries*. It's everything from basic stuff like collections to memory management, image manipulation, file systems and text parsing. It's just not worth rewriting it all.

* Not strictly true but it's nothing I would need. I.e. input device access from DirectInput or RawInput etc..


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: