6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 22, 2024 8:13 pm

All times are UTC




Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Sun Aug 18, 2024 7:42 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8543
Location: Southern California
GlennSmith wrote:
BTW - how do you guys get the "BDD says" title into the quote banner ?

You'll see it if you just click on the quote box at the bottom-right of the post frame.  The reply box will come up with what you're quoting, starting with, for example [quote="BigDumbDinosaur"] (but I had to put another pair of tags in there to keep the quote tag from doing its job).  You could edit it to say for example [quote="BDD"]

_________________
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  
PostPosted: Sun Aug 18, 2024 7:52 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8543
Location: Southern California
GlennSmith wrote:
I'll post my findings about PLASMA (it would be nicer to call it "Plasma" - no shouting!)

I always say, if it seems like shouting, just turn the font size down.  Personally, I like most programming to be in all cap.s.  The comments normally shouldn't be though, and I can understand if people don't like to keep finding themselves in the wrong case and always have to be hitting the cap.s-lock key off and on.  In prose however, the lines on the page exist because a book is more manageable than a long ribbon with a lump here and there for pictures.  But in programming, the separation into lines becomes very significant for visual factoring, and having ascenders and descenders (as lower-case does) blurs those divisions.  I especially dislike it when people mix lower-case a-f into them in hEx nUmBErS (since 0-9 are always capitals)!  Here on the forum where the non-[code] sections are in proportional spacing, when someone writes 3fff for example, in whatever font is used there, it initially looks like 3111 to me because the f's are so narrow:

_________________
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  
PostPosted: Sun Aug 18, 2024 8:08 pm 
Offline

Joined: Thu Mar 03, 2011 5:56 pm
Posts: 284
BigDumbDinosaur wrote:
rwiker wrote:
Unix is probably not an acronym, although it was trademarked as "UNIX".

According to the authors of THE UNIX PROGRAMMING ENVIRONMENT (Kernighan - Pike, Prentice-Hall 1984), “UNIX” is a pun on “MULTICS,” which was the project that Ritchie and Thompson worked on before the latter got started on what would become UNIX.  I dimly recall from a lecture or some such thing that “UNIX” was originally spelled “UNICS.”  In the referenced book, both “MULTICS” and “UNIX” are consistently upper-case.

Quote:
PLASMA is an acronym, and this is also the way that the creator writes it.

In recent years, the preferred form is capitalized: Fortran, Basic, Cobol, Common Lisp. That might make sense for PLASMA, too, but you would not be able to write it like that on Apple ][ and Apple][+ computers, since they do not have lowercase :-)

Preferred by whom?  :D  Cell phone users who are too lazy to properly spell words?  :?  BASIC, for example, is an acronym that has always been rendered all upper-case.  Ditto for COBOL and FORTRAN.


Absolutely not the case for Fortran and Common Lisp, although COBOL and BASIC appear to have kept their all-caps spelling.


Top
 Profile  
Reply with quote  
PostPosted: Sun Aug 18, 2024 8:27 pm 
Offline

Joined: Thu Dec 26, 2002 12:29 pm
Posts: 81
Location: Occitanie, France
GARTHWILSON wrote:
GlennSmith wrote:
BTW - how do you guys get the "BDD says" title into the quote banner ?

You'll see it if you just click on the quote box at the bottom-right of the post frame.  The reply box will come up with what you're quoting, starting with, for example [quote="BigDumbDinosaur"] (but I had to put another pair of tags in there to keep the quote tag from doing its job).  You could edit it to say for example [quote="BDD"]


Got it! Thanks. I'd been using the little grey buttons inside the editor...

To come back on topic, I've just finished writing the interface for open() and close() - now to test them. Now I've got to grips (in assembler) with the parameter passing between everyone's different stacks it should be easier to get read() and write() done.

_________________
Glenn-in-France


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 19, 2024 4:29 am 
Offline

Joined: Mon Jan 19, 2004 12:49 pm
Posts: 983
Location: Potsdam, DE
GARTHWILSON wrote:
Personally, I like most programming to be in all cap.s.


<shudder> Horses for courses, I guess; it was one of the first things I changed on a 6502 BASIC nearly fifty years ago. I hate code that shouts at me!

Neil


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 19, 2024 4:40 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8543
Location: Southern California
barnacle wrote:
GARTHWILSON wrote:
Personally, I like most programming to be in all cap.s.

<shudder> Horses for courses, I guess; it was one of the first things I changed on a 6502 BASIC nearly fifty years ago. I hate code that shouts at me!

Again, JUST TURN THE FONT SIZE DOWN!  Capitalizing things to emphasize them or make them louder, although common, is incorrect.  That job should be left for bold or underlining.

_________________
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  
PostPosted: Mon Aug 19, 2024 7:07 am 
Offline

Joined: Tue Nov 10, 2015 5:46 am
Posts: 230
Location: Kent, UK
drogon wrote:
Looks like someone has done it again, this time emulating RISC-V...
https://hackaday.com/2023/10/13/because ... duino-uno/
Random fun-fact on CPUs emulating other CPUs: The new Raspberry Pico2 (RP2350 SoC) has both ARM and RISC-V cores, and the chip can boot from ARM or RISC-V. If it boots from RISC-V then firmware runs an ARM emulator so it can use the common ARM object code (to reduce the internal ROM capacity).


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 19, 2024 7:14 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10985
Location: England
Do you have a handy link for the idea that the Pico 2 runs an ARM emulator? That's not an idea I've seen. (Of course, it could, and it can, but I've not seen anything official on those lines.) Edit: see below...

My understanding is that it has two ARM cores and two RISC cores, and two active slots each of which can be set, at reset time, to either flavour. The user's boot-time software is compiled for one or other flavour, and if the boot-time core detects that the image is for the other flavour it causes a boot into the other flavour. (Ref and also Ref)

Edit: ah, I see here this
Quote:
Most bootrom functions are written just once, in Arm code, to save space. As a result these functions are emulated when running under the RISC-V architecture. This is largely transparent to the user, however...

and later
Quote:
This part of the ROM contains the NSBOOT (including USB boot) implementation, as well as a RISC-V Armv6-M emulator which can be used to emulate most of the bootrom on RISC-V processors.


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 19, 2024 3:37 pm 
Offline

Joined: Tue Nov 10, 2015 5:46 am
Posts: 230
Location: Kent, UK
BigEd wrote:
Quote:
This part of the ROM contains the NSBOOT (including USB boot) implementation, as well as a RISC-V Armv6-M emulator which can be used to emulate most of the bootrom on RISC-V processors.
If you'd like to dig deeper, the source code to the boot ROM is https://github.com/raspberrypi/pico-bootrom-rp2350/tree/master, and it uses the armulet emulator.


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 19, 2024 8:28 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10985
Location: England
interesting! only 3k of ROM to emulate ARM on RISC-V:
https://github.com/raspberrypi/armulet? ... le#armulet


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 15 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: