08 October 2015, 19:32 | #41 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
Usually reading floating data bus returns whatever data CPU accessed previously but it is not guaranteed. I am not sure how it exactly works because it is not really defined and can depend on mainboard revision, used chip types etc.. For example if I dump first 200 or so bytes from 0xDC0000 (without clock), I get 100% repeatable results (seems to return last CPU's prefetched instruction word) except 1-2 bits that randomly change in random addresses. Quote:
|
||
08 October 2015, 21:38 | #42 | |
Registered User
Join Date: Sep 2015
Location: Germany
Posts: 256
|
Quote:
|
|
09 June 2016, 02:05 | #43 |
Registered User
Join Date: Mar 2016
Location: Australia
Posts: 881
|
Bumping this thread.
After some time has passed does anyone have any recommendations as to which is the best of the solutions discussed ? |
09 June 2016, 17:42 | #44 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
The best solution is to not kill the OS at all
|
09 June 2016, 20:00 | #45 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
|
09 June 2016, 20:57 | #46 |
Registered User
Join Date: Mar 2016
Location: Australia
Posts: 881
|
That's no fun. The best thing about the Amiga is you are free to do whatever you like, including "pausing" the OS.
Anyway I ended up using one of the TOD solutions as it seemed to be the most compatible across various hardware/software configurations. |
09 June 2016, 21:07 | #47 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
|
09 June 2016, 21:18 | #48 |
Registered User
Join Date: Mar 2016
Location: Australia
Posts: 881
|
|
09 June 2016, 22:29 | #49 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
|
09 June 2016, 22:40 | #50 | |
Registered User
Join Date: Mar 2016
Location: Australia
Posts: 881
|
Quote:
I didn't initially plan on doing a workbench version. Because it was so simple to build both versions I decided to keep the OS "compatible" version in the mix. Trackloaded ADF is still my preferred medium. Works on all Amigas, including people running various UAEs that only have access to the AROS roms. |
|
10 June 2016, 00:02 | #51 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
|
10 June 2016, 00:29 | #52 |
Registered User
Join Date: Mar 2016
Location: Australia
Posts: 881
|
|
10 June 2016, 18:09 | #53 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
|
10 June 2016, 18:40 | #54 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
The OS has primitives to take over everything you need : screen, sound, blitter, cia timers, whatever. There IS sometimes the need to touch the hardware under OS, f.e. try to play Protracker modules with audio.device alone - simply impossible. |
|
10 June 2016, 18:46 | #55 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
It is never that black and white.
It depends what you want to do, if you want to do anything useful with basic A500, you really want to take over the system but if you target something higher, it is usually possible to keep system mostly working. Trouble can still come when user has odd expansion(s) that take random amount of CPU (interrupt) time just when it shouldn't.. |
10 June 2016, 23:52 | #56 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
Quote:
The same would be to call OwnBlitter() and program the Blitter registers. But this is still a legal, OS-conforming program for me. I thought about writing hardware registers while the OS is still alive and not aware of it, like in a bad Seka assembler source of 1988. |
|
11 June 2016, 02:12 | #57 | |
Registered User
Join Date: Mar 2016
Location: Australia
Posts: 881
|
Quote:
Calling OS APIs is sleep inducing in it's boringness :-) The minimum calls required before I am in full control the better. |
|
11 June 2016, 09:29 | #58 | ||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
Quote:
File i/o is also quite painful. So ok it's fun for learning things and all, but i wouldn't do it for any serious project. Then design your own APIs. This is (more or less) what i did for my programs. Perhaps you'd be better off by just writing $7fff to $dff096+$dff09a and never return |
||
11 June 2016, 09:43 | #59 | |
Registered User
Join Date: Mar 2016
Location: Australia
Posts: 881
|
Quote:
Is anyone doing any serious projects still on the Amiga ? |
|
11 June 2016, 09:58 | #60 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
If by "serious" you understand "business" then no (hopefully ?).
Else, yes, maybe. I mean, while demos and some games can be satisfied with os killing stuff, utilities and large projects (like a big game over 100MB in size) need to run under os. Are there such projects now ? Well, there are a few game projects here and there. My personal current intent is to write a multi-format audio player. If i get some nice incentive i may eventually be porting another Atari ST game as well. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
startup/system takeover | sidewinder | Coders. General | 15 | 28 February 2016 16:33 |
time clock prob a2000 | source | Hardware mods | 11 | 07 August 2011 13:16 |
A1200 Real Time Clock | Eclipse | support.Hardware | 4 | 22 March 2011 02:18 |
App to update Amiga System time from web time?? | DDNI | request.Apps | 2 | 31 December 2007 07:21 |
Reading the Real Time Clock | girv | Coders. General | 5 | 04 September 2007 18:30 |
|
|