Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: hbl on falcon
Posted by: ggn Oct,03.2007-08:36 

Why do it like this in the first place? The first thing I'd try myself is to make my own screen pointer book-keeping instead of trusting the video counter:

my_hbl: andi.w #1,counter
beq.b .even

.odd:
move.b save1,$ffff8205.w
move.b save2,$ffff8207.w
move.b save3,$ffff8209.w
addq.w #1,counter
rte

.even:
add.l #screen_line_width,save
addq.w #1,counter
rte

save: ds.l 1
save1 equ save+1
save2 equ save+2
save3 equ save+3

Then you only need to load 'save' with the screen pointer in the vbl and then the hbl will do its thing.

Hope this helps







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

Topic Posted by  Date 
hbl on falcon mikro Sep,24.2007-16:32
  Re: hbl on falcon frost Sep,24.2007-18:08
    Re: hbl on falcon mikro Sep,25.2007-09:54
      Re: hbl on falcon earx Sep,25.2007-10:31
      Re: hbl on falcon ggn Sep,25.2007-10:36
  Re: hbl on falcon NO/Escape Sep,24.2007-20:28
  Re: hbl on falcon evil Sep,25.2007-13:55
    Re: hbl on falcon earx Sep,25.2007-16:43
    Re: hbl on falcon ggn Sep,26.2007-14:37
      Re: hbl on falcon evil Sep,26.2007-17:18
        Re: hbl on falcon mikro Sep,27.2007-09:31
        Re: hbl on falcon ggn Sep,27.2007-12:43
          Re: hbl on falcon evil Sep,27.2007-18:06
            Re: hbl on falcon ggn Sep,27.2007-21:52
  Re: hbl on falcon mikro Sep,28.2007-11:58
    Re: hbl on falcon mikro Sep,28.2007-11:59
    Re: hbl on falcon earx Sep,28.2007-14:14
      Re: hbl on falcon Mikro Sep,29.2007-17:29
        Re: hbl on falcon Mikro Sep,29.2007-19:44
          Re: hbl on falcon earx Sep,30.2007-07:18
            Re: hbl on falcon mikro Oct,01.2007-11:08
    Re: hbl on falcon ggn Oct,03.2007-08:36
      Re: hbl on falcon mikro Oct,03.2007-09:20
  Re: hbl on falcon RA/pdx Oct,15.2007-13:59
    Re: hbl on falcon mikro Oct,16.2007-09:13
      Re: hbl on falcon Orion Apr,11.2019-13:29


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