Forum: Coders. General
Yesterday, 10:55
|
Replies: 14
Views: 394
|
Forum: Coders. General
28 February 2021, 23:01
|
Replies: 14
Views: 394
You are confused. BMF_DISPLAYABLE is for...
You are confused. BMF_DISPLAYABLE is for displayable bitmaps. But the screen does not display your bitmaps. It displays its own bitmaps, namely screen->RastPort.Bitmap. All you need is a friend...
|
Forum: Coders. General
28 February 2021, 16:17
|
Replies: 14
Views: 394
Screen bitmaps are allocated with all system...
Screen bitmaps are allocated with all system limitations in mind, so may I ask why you allocate bitmaps yourself?
Ehem. The "framebuffers" you find in Screen->RastPort.Bitmap. No need to...
|
Forum: request.Apps
26 February 2021, 15:52
|
Replies: 6
Views: 266
|
Forum: Coders. Asm / Hardware
23 February 2021, 19:47
|
Replies: 1,089
Views: 60,829
That's not the point. The point is that...
That's not the point. The point is that instuctions such as
if (a=b) { }
are a common case, and the rest follows from the orthogonality requirement.
It only means that you cannot...
|
Forum: Coders. Asm / Hardware
23 February 2021, 19:14
|
Replies: 1,089
Views: 60,829
|
Forum: Coders. System
23 February 2021, 09:28
|
Replies: 53
Views: 1,693
|
Forum: Coders. System
22 February 2021, 22:00
|
Replies: 53
Views: 1,693
|
Forum: Coders. Asm / Hardware
22 February 2021, 21:32
|
Replies: 1,089
Views: 60,829
|
Forum: Coders. System
21 February 2021, 21:33
|
Replies: 53
Views: 1,693
|
Forum: Coders. System
21 February 2021, 14:51
|
Replies: 53
Views: 1,693
I don't see how this could work. loadseg under...
I don't see how this could work. loadseg under 1.3 releases the segments if a hunk-end is not seen, it has a flag value for it. 3.1 forgot to set a secondary result code there, in 3.2 you'll get a...
|
Forum: Coders. System
21 February 2021, 12:57
|
Replies: 53
Views: 1,693
Unfortunately, if the hunk binary comes from...
Unfortunately, if the hunk binary comes from memory, LoadSeg() does not provide a solution under 1.3 and before (it does not go through the buffered I/O functions). You can loadseg from an open...
|
Forum: Coders. System
21 February 2021, 12:07
|
Replies: 53
Views: 1,693
Does the data come from file? Then LoadSeg() is...
Does the data come from file? Then LoadSeg() is the solution. If the data comes from memory, then InternalLoadSeg() is the right solution. Beware, however, that you cannot load overlays from memory...
|
Forum: Coders. System
21 February 2021, 11:53
|
Replies: 53
Views: 1,693
|
Forum: Coders. System
20 February 2021, 23:54
|
Replies: 53
Views: 1,693
|
Forum: Coders. System
20 February 2021, 23:11
|
Replies: 53
Views: 1,693
|
Forum: Coders. System
20 February 2021, 22:55
|
Replies: 53
Views: 1,693
LoadSeg, of course, if your goal is to load a...
LoadSeg, of course, if your goal is to load a binary into memory. There isn't really much that changed. The only hunk that came into v37 is HUNK_RELOC32SHORT, but that's rarely used. The SAS/C...
|
Forum: Coders. System
20 February 2021, 18:01
|
Replies: 53
Views: 1,693
|
Forum: Coders. System
20 February 2021, 15:06
|
Replies: 53
Views: 1,693
|
Forum: Coders. System
20 February 2021, 14:30
|
Replies: 53
Views: 1,693
|
Forum: Coders. System
20 February 2021, 14:00
|
Replies: 53
Views: 1,693
Once again: What exactly are you trying to...
Once again: What exactly are you trying to achieve? You may not know, but LoadSeg() has a customizable cousin, InternalLoadSeg(), so you can make it load from memory, or from an RDSK block, or...
|
Forum: support.Other
20 February 2021, 13:39
|
Replies: 5
Views: 345
Tick detection hasn't changed between 3.1 and...
Tick detection hasn't changed between 3.1 and 3.1.4, and 3.1.4 and 3.1.4.1, but the code has been recompiled with a later compiler, so the timing might be slightly different.
So this is what is...
|
Forum: Coders. System
20 February 2021, 13:13
|
Replies: 17
Views: 1,408
Every other Os component has a flat hierarchy -...
Every other Os component has a flat hierarchy - all files in one directory, and one make file. If an Os component becomes so big that its sources cannot be logically arranged in one directory, the...
|
Forum: Coders. C/C++
19 February 2021, 21:19
|
Replies: 23
Views: 974
In this particular example, it is not "pure...
In this particular example, it is not "pure luck". The graphics user copper lists use a self-extending data structure, so whenever more copper instructions are needed, graphics extends the structure...
|
Forum: Coders. Asm / Hardware
19 February 2021, 21:13
|
Replies: 10
Views: 684
|
Forum: Coders. C/C++
19 February 2021, 11:41
|
Replies: 14
Views: 1,439
Note that the task name is the program name as...
Note that the task name is the program name as you start it on the shell, case sensitive, potentially with the full path upfront. Thus, if you start your program as "Foo:Bar/bla", the TASKNAME should...
|
Forum: Coders. System
18 February 2021, 19:51
|
Replies: 8
Views: 343
|
Forum: Coders. Asm / Hardware
18 February 2021, 15:26
|
Replies: 9
Views: 552
|
Forum: Coders. System
18 February 2021, 15:25
|
Replies: 8
Views: 343
If you mean "monitor", you do mean the name of...
If you mean "monitor", you do mean the name of the icon in DEVS:Monitors? Unfortunately, you cannot in general predict which IDs the monitor icon will generate, and as the user can rename the icon as...
|
Forum: Coders. System
18 February 2021, 08:55
|
Replies: 8
Views: 343
My concern is that the monitor name is rarely...
My concern is that the monitor name is rarely useful, i.e. it is not shown in an ASL requester, and it is not necessarily the name of the icon in DEVS:Monitors. The later can be changed by the user...
|
Forum: Coders. System
17 February 2021, 20:32
|
Replies: 8
Views: 343
For that, traverse the display info data base...
For that, traverse the display info data base with GetDisplayInfoData() (see its documentation), and check for the struct NameInfo (see graphics/displayinfo.h), i.e. DTAG_NAME for the mode name, or...
|
Forum: Coders. Asm / Hardware
16 February 2021, 13:48
|
Replies: 1,089
Views: 60,829
Also, I find this quite interesting:
...
Also, I find this quite interesting:
https://allaboutprocessors.blogspot.com/2009/03/intels-80286.html
I guess I can only agree with Bill Gates here. Brain-dead processor. Two modes, but can...
|
Forum: Coders. Asm / Hardware
16 February 2021, 13:35
|
Replies: 1,089
Views: 60,829
Another attempt at an apples to oranges...
Another attempt at an apples to oranges comparison. The 80286 has several forms of MUL, 8x8->16, and 16x16->32. The 8x8->16 takes 13 cycles for register, 16 for memory, the comparable 16x16->32 takes...
|
Forum: Coders. Asm / Hardware
15 February 2021, 18:44
|
Replies: 1,089
Views: 60,829
|
Forum: Coders. Asm / Hardware
15 February 2021, 18:15
|
Replies: 1,089
Views: 60,829
|
Forum: Coders. General
14 February 2021, 13:54
|
Replies: 76
Views: 5,030
|
Forum: Coders. Asm / Hardware
14 February 2021, 12:15
|
Replies: 1,089
Views: 60,829
|
Forum: Coders. System
13 February 2021, 18:55
|
Replies: 53
Views: 1,693
I'm sorry - what don't you want to do? Read a...
I'm sorry - what don't you want to do? Read a book? Why not? What is the problem you want to solve? The only thing the Bantam manual does not state is that the scatter loader supports both 1015 and...
|
Forum: Coders. Asm / Hardware
13 February 2021, 15:05
|
Replies: 1,089
Views: 60,829
Be a bit careful with these numbers. It really...
Be a bit careful with these numbers. It really depends a lot on how you compile, with which options, and which compiler. For example, the gcc on x86 performs a lot of loop unrolling, which adds for...
|
Forum: Coders. System
13 February 2021, 15:01
|
Replies: 10
Views: 825
|