01 October 2019, 21:22 | #2321 | |
Registered User
Join Date: Sep 2006
Location: New Sandusky
Posts: 942
|
Quote:
Now internally, systems benefited from working on word-aligned boundaries, since the ALUs were processing 16-bit or 32-bit words. If 90%+ of your calculations were done on this word size, then why waste silicon on 8-bit operations? Just make them special-case scenarios that run with microcode. 8-bit instructions were kept, however, since so much of the paradigm of how data was managed (you know, little things like ASCII) still operated on 8 bits. Moreover there was still incentive to do this as memory was expensive. Even today text is still normally stored as UTF-8, not UTF-32. |
|
01 October 2019, 21:53 | #2322 | |
Unregistered User
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 43
Posts: 4,190
|
Yeah, I know it is boring to just post a link to wikipedia, but the first paragraph explains it very well:
https://en.wikipedia.org/wiki/Byte In essence; a byte was not always 8 bits. It started out as grouping bits together so they could hold text. That was doable with 6 bits, including punctuation and various control codes, but it eventually settled at 8 bits per group as it was a good compromise and fit well into a binary world. A word on the other hand, can be anything and depends largely on the architecture. 16 bit words are common today, but they could just as well be 8 bits or 40 bits. Quote:
|
|
02 October 2019, 10:11 | #2323 | |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
Quote:
Regarding DOS and BPTR, the BCPL language (which DOS was written in) was conceived in an age when computers mainly addressed words, only using "bytes" (which may have been 6, 7 or 8 bits wide) for text, and then often only using special instructions. |
|
02 October 2019, 14:54 | #2324 |
Registered User
Join Date: Jul 2014
Location: Finland
Posts: 1,176
|
There were a handful of non 8bit byte microprocessors, there's a hobby project for the Intersil 6120 pdp8-on-a-chip.
https://www.retrobrewcomputers.org/d...-edition:start Amusingly, for memory they use double 8bit wide SRAM and ROM's and just dont use some of the data bits. |
02 October 2019, 21:40 | #2325 |
Registered User
Join Date: Oct 2007
Location: Mars
Posts: 183
|
a rat decided to sh*t on my mouse and on my amiga 600 (the keyboard is covered with plastic case)..so, what's the best thing to use to clean & disinfect the mouse and the miggy without damaging it?
|
02 October 2019, 22:23 | #2326 |
Unregistered User
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 43
Posts: 4,190
|
Take them apart and clean the parts with soap and water. I assume it is only on the plastic parts. If it has been there a while then it may have become discolored due to the acid but then you can take it from there.
|
03 October 2019, 13:09 | #2327 |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
Why do so many programs set their assigns in the startup-sequence?
When it can easily be set in a startup script. Ok, for DPaint and the like it may make sense, but for the rest it would save ram and make the st-seq less cluttered. |
03 October 2019, 13:14 | #2328 | |
-
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,861
|
Quote:
Think for example project icons with a default tool, you want the assigns to be in place before it starts. So this is just a convenient place for those assigns, they're ready to go when you launch that program. Running a full WB with low RAM is not very often used in any case, unless it is a floppy only system. |
|
03 October 2019, 13:37 | #2329 | |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
Quote:
As for memory, having an assign available takes a very small amount of RAM - if you're struggling for a couple of kB, you're struggling anyway. If it's an issue with lots of assigns clogging up your file requesters, you can always add the DEFER keyword to their entries - that way they're not activated until something explicitly accesses them. You could of course make a very simple script to do the assigns yourself - I do that for some software that I rarely use, like the Dice compiler, so I can activate it on the rare occasion I need it, without having to fumble through the setup and create them manually. Later versions of the OS will also let you create a required assign from the "Please insert volume" requester, and patches are available that will add similar capabilities to the older versions of the OS. On the flip side, assigns don't need to be created using the Assign command in a script - the OS API has the facilities required to create, modify and remove an assign from within a program, so it's entirely possible for a program to create any assign it needs at runtime and remove it afterwards. Amiblitz 3 does just this, and it works well provided you don't want convenient access to the program's drawer when the program isn't running. I've found however that I like to have the Blitz3: assign available so I can easily access my files even when AmiBlitz isn't running, so I added the assign manually to the user-startup myself. |
|
03 October 2019, 15:08 | #2330 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
I think you mean user-startup instead of startup-sequence because assigns are usually installed to user-startup. On the other hand programs shouldn't need an assign to work. PROGDIR: is supported for at least 25 years and a developer can use it. Of course that doesn't help with old (dead) programs. But there exists Assign-Manager to deal with it if too much assigns fly around. Like already mentioned you can write your own startup script that sets the needed assign.
|
03 October 2019, 15:27 | #2331 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
Daxb says it. Modern (as in past 1993 or so), well-behaved programs should use PROGDIR: instead.
|
03 October 2019, 15:37 | #2332 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Actually there is no need for PROGDIR: at all, neither from WB nor from CLI.
Making completely portable programs on Amiga is really simple. For old programs, yes, you actually need to create patches.. |
03 October 2019, 17:45 | #2333 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
Do you know why some developer chose the need for an assign for the program to run? IMO MUI is an ugly example or DOpus 4/5, AmiTCP, Photogenics, ArtEffect, PPaint, ghostscript, AsmPro, GoldED, FrexxED, MUIbase, Protext, Miami, AWeb, AmiSSL, TurboPrint, aso. Then there are games.
|
03 October 2019, 18:13 | #2334 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
The same can be true for games where the disk name identifies where to load the data, so that by doing an Assign you find them even if they are in an HDD directory. You can also change data path on the fly with a new Assign. Or add locations to search for data by simply adding a path. There are much situations where Assign command is useful, I like it very much . |
|
04 October 2019, 19:47 | #2335 |
Retro Gamer
Join Date: Jan 2005
Location: Underworld
Age: 51
Posts: 4,058
|
I really love Assign in Amiga and always have been using it. It allowed to store/recall data/programs in much simpler way without having to type long paths and / or memorize them.
Also allowed me to use ls, mem, cp, mv, exit,.. or call frequently used operations such as edus - ed s:user-startup, edss - eds s:startup-sequence... etc. in Amiga Shell. |
04 October 2019, 20:01 | #2336 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
Maybe you mean Alias instead of Assign? At least referring to your second paragraph.
|
05 October 2019, 02:30 | #2337 |
Registered User
Join Date: May 2013
Location: Grimstad / Norway
Posts: 839
|
I believe assigns/devices were borrowed from VMS.
Too bad there was not a few standard devices like IN: and OUT: and ERR: to reflect on what unix and C did. |
07 October 2019, 15:47 | #2338 |
Registered User
Join Date: May 2017
Location: Belfast
Posts: 750
|
I've got another one that just came to me at the weekend when playing with my A1200.
Why is there a blank key on the keyboard beside return? |
07 October 2019, 16:06 | #2339 | |
Registered User
Join Date: May 2017
Location: Munich/Bavaria
Posts: 2,294
|
Quote:
In the English layout there seems to be an other blank key next to the left shift-key... That is used as "< >" in the German layout. I wonder why they did not use these dead keys for e.g. curly brackets in the english layout. (the Amiga 1000 has a different shape for the return-key and a wider left shift-key, making these dead key obsolete.) |
|
07 October 2019, 16:30 | #2340 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
There's another down beside Z It's basically so that the same keyboard chassis can accommodate different layouts by simply fitting different keycaps. A cost-saving exercise by Commodore.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gamebase Amiga - 2 Questions | Fiery Phoenix | New to Emulation or Amiga scene | 8 | 13 August 2012 12:31 |
Amiga CD32 questions | pubzombie | New to Emulation or Amiga scene | 26 | 24 January 2010 16:27 |
A few general Amiga questions. | Hougham | support.Hardware | 6 | 30 April 2008 22:13 |
Amiga A4000 Questions | mfletcher | support.Hardware | 8 | 29 April 2008 10:51 |
Amiga 600 Questions | JDunlap | support.Hardware | 14 | 20 January 2008 19:13 |
|
|