Search found 293 matches

by thomasrapp
Sun Jul 22, 2018 10:40 am
Forum: General AmigaOS
Topic: Building a new home network
Replies: 2
Views: 2911

Re: Building a new home network

Actually what you call a modem is already a router with a modem built in. And what you call DSL is already a LAN with IP addresses in the 192.168.1.x range. Now you connect a second router to it which builds a second LAN with 192.168.0.x addresses. For this "inner" LAN the "outer"...
by thomasrapp
Fri Jul 13, 2018 3:27 pm
Forum: General AmigaOS
Topic: Is there a way to exit the User-Startup script?
Replies: 5
Views: 3156

Re: Is there a way to exit the User-Startup script?

I'd also suggest the Lab / Skip solution for exiting a script.

However, for a migration job like yours I would keep the old script with another name and copy/paste only those sections which shall be executed into the real user-startup file.
by thomasrapp
Mon Jul 02, 2018 5:44 pm
Forum: Platform: AmigaOne X5000
Topic: Networking
Replies: 20
Views: 10668

Re: Networking

smbfs is being worked on. Current beta version works with Windows 7 at least. Didn't try Win 10 yet.

More info plus beta download there: https://www.a1k.org/forum/showthread.ph ... ost1198976 (mostly German; login required)
by thomasrapp
Sun Jun 10, 2018 12:56 pm
Forum: General Developer Support
Topic: exec.library->AddTask() stack handling...
Replies: 9
Views: 4317

Re: exec.library->AddTask() stack handling...

Belxjander wrote:otherwise *every* syscall will trigger DSI and ISI exception pairs...regardless
You have to make sure that all interface pointers are set up correctly. Don't use global variables.

Here is an example which works on OS3 as well as OS4: http://thomas-rapp.homepage.t-online.de ... s/task.lha
by thomasrapp
Sat Jun 09, 2018 8:51 pm
Forum: General Developer Support
Topic: exec.library->AddTask() stack handling...
Replies: 9
Views: 4317

Re: exec.library->AddTask() stack handling...

Yes.

I would do it like this:

Code: Select all

unit->uTask.tc_SPLower    = unit->uStack;
unit->uTask.tc_SPUpper    = ((uint8 *)unit->uStack) + UNIT_STACK_SIZE;
unit->uTask.tc_SPReg      = unit->uTask.tc_SPUpper;
by thomasrapp
Sat Jun 09, 2018 7:50 am
Forum: General Developer Support
Topic: exec.library->AddTask() stack handling...
Replies: 9
Views: 4317

Re: exec.library->AddTask() stack handling...

The stack grows downwards from high to low addresses. So to start with an empty stack SPReg must point to the end of the stack, not to the beginning.
by thomasrapp
Sat May 26, 2018 9:21 pm
Forum: General AmigaOS
Topic: Issue with IDOS->HexToLong
Replies: 2
Views: 2079

Re: Issue with IDOS->HexToLong

Erm, an uint32 cannot store negative numbers. If your program prints -2012741632, then something's wrong with how you print the result. If you want to see unsigned numbers, you should use %u and not %d. Try: printf ("%ld %lu\n",0x88080000,0x88080000); and you'll see that everything is corr...
by thomasrapp
Wed May 02, 2018 4:20 pm
Forum: AmigaOS Feature Requests
Topic: Intuition "Xinerama" Features
Replies: 11
Views: 7529

Re: Intuition "Xinerama" Features

It's very easy to write an input handler or commodity which switches to the next screen when you move the mouse over the right border of the current screen. I wrote it already. More work would be needed to switch only to screens on a different monitor or to arrange monitors. What can't be done witho...
by thomasrapp
Fri Mar 23, 2018 8:09 am
Forum: Platform: AmigaOne XE and MicroA1-C
Topic: The SSD question - again..
Replies: 8
Views: 11834

Re: The SSD question - again..

MaxTransfer is not a rate, it is a size! It has nothing to do with speed. It only specifies the chunk size given from the file system to the device driver. Chunks bigger than 128k aren't possible with ATA anyway, so if you set it to 0x20000 or higher makes no difference. Properly written device driv...
by thomasrapp
Thu Feb 22, 2018 8:04 am
Forum: General Developer Support
Topic: ListBrowser LBNCA_FGPen odd behavior?
Replies: 3
Views: 2848

Re: ListBrowser LBNCA_FGPen odd behavior?

Yes, the sentence "Defaults to TEXTPEN and BACKGROUNDPEN" is misleading. Actually they default to DrawInfo->dri_Pens[TEXTPEN] and DrawInfo->dri_Pens[BACKGROUNDPEN].