Dead Hackers Society
Other BBSes »
 
 

68k Inside

Sommarhack 2024

Silly Venture 2024 SE
Demoscene  Coding  CT60  Buy/sell

CT60 and related things BBS
 
Re: Boot 2.02 / Drivers 1.02 in progress
Posted by: PeP Apr,18.2012-01:34 

I did send you an email + sample sources, but maybe it got lost. I can't find it in my archives, because I lost my archives due to a hard drive crash a while ago :-/

Current solution:

- Console code is replaced by a modified EmuTOS console (at least I think it is from EmuTOS).
- this modified EmuTOS console decides pixel format (planar vs. chunky) based on logbase.
- Fails on the SuperVidel* unless I replace the console yet again (!) with the original Atari one.

Advantages:
- it works for you.

Disadvantages:
- Fails on the SuperVidel, because the SuperVidel has planar screens outside of STRAM.
- Unclean, special workarounds required.
- Alpha VDI functions (rarely used) has to be patched to call the new console, or fails.

*) The SuperVidel can have planar screens outside of STRAM. Since you switch to Chunky mode for all screens outside of STRAM,
this obviously fails. You have implemented a workaround which attempts (and fails) to detect the SuperVidel, and if detected,
don't replace the console (i.e. you keep the original Atari console).

Proposed solution:

- Console code is never replaced.
- The drawing primitive for alpha text is replaced. Atari provided an interface for this in the LineA table, and the sources I sent to you demonstrate this. XBIOS does this when switching between a planar mode and a chunky 16bpp mode, for example.

Advantages:
- Clean; it uses the interface Atari provided in TOS4.
- No workarounds required, the same code can work without modifications on VIDEL, Radeon or SuperVidel.

Disadvantages:
- New code is needed. I have the code you need and I'm happy to give it to you.
- Minor (!) work and testing.

Note: I'm sure I emailed sample source to you, I can't verify it since I lost my email history due to a hard drive crash.
I do however have the example code for you here: http://dl.dropbox.com/u/7091129/didier.zip.
The sources must be executed on a standard TOS4 in hicolor mode. It first prints "Hello Didier" 50 times, it then prints the same text again after modifying the drawing primitive used for alpha text. To make it obvious that the primitive has been altered, the drawing routine is mirrored.







[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
Boot 2.02 / Drivers 1.02 in progress Didier Méquignon Apr,05.2012-19:10
  Re: Boot 2.02 / Drivers 1.02 in progress PeP Apr,06.2012-10:37
    Re: Boot 2.02 / Drivers 1.02 in progress Didier Méquignon Apr,06.2012-11:12
      Re: Boot 2.02 / Drivers 1.02 in progress ggn Apr,06.2012-12:01
        Re: Boot 2.02 / Drivers 1.02 in progress instream Apr,06.2012-17:01
      Re: Boot 2.02 / Drivers 1.02 in progress PeP Apr,18.2012-01:34
        Re: Boot 2.02 / Drivers 1.02 in progress PeP Apr,23.2012-09:13
          Re: Boot 2.02 / Drivers 1.02 in progress Didier Méquignon Apr,23.2012-21:49
            Re: Boot 2.02 / Drivers 1.02 in progress PeP Apr,25.2012-08:24
    Re: Boot 2.02 / Drivers 1.02 in progress Didier Méquignon Apr,06.2012-12:36
  Re: Boot 2.02 / Drivers 1.02 in progress wongck Apr,11.2012-01:05
    Re: Boot 2.02 / Drivers 1.02 in progress Didier Méquignon Apr,11.2012-12:59
      Re: Boot 2.02 / Drivers 1.02 in progress sqward Apr,13.2012-02:24
        Re: Boot 2.02 / Drivers 1.02 in progress Didier Méquignon Apr,14.2012-07:29
          Re: Boot 2.02 / Drivers 1.02 in progress Didier Méquignon Apr,15.2012-13:39
            Re: Boot 2.02 / Drivers 1.02 in progress Didier Méquignon Apr,24.2012-19:25
              Re: Boot 2.02 / Drivers 1.02 in progress wongck Apr,25.2012-00:25
                Re: Boot 2.02 / Drivers 1.02 in progress Didier Méquignon Apr,25.2012-17:03
  Re: Boot 2.02 / Drivers 1.02 in progress wongck Apr,13.2012-01:33
    Re: Boot 2.02 / Drivers 1.02 in progress Ektus Apr,13.2012-06:47
      Re: Boot 2.02 / Drivers 1.02 in progress wongck Apr,13.2012-13:56
        Re: Boot 2.02 / Drivers 1.02 in progress Ektus Apr,13.2012-15:46
  Re: Boot 2.02 / Drivers 1.02 in progress marss Jul,20.2012-21:00
    Re: Boot 2.02 / Drivers 1.02 in progress alanh Aug,07.2012-20:47
      Re: Boot 2.02 / Drivers 1.02 in progress ragnar Oct,10.2012-04:35
        Re: Boot 2.02 / Drivers 1.02 in progress raphael Oct,25.2012-10:06


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson