Search found 81 matches

by danorf
Fri May 17, 2019 3:08 pm
Forum: Hardware
Topic: keyboard desktopper case
Replies: 1
Views: 1708

Re: keyboard desktopper case

If the answer could still be of any help for someone :

Blue on third pin from the top
Red on the forth
White or Yellow on the fifth

So the connector on the motherboard should look like this : 2 free pins - your connector on the three following pins - 1 free pin - a gap - 1 free pin.
by danorf
Fri May 17, 2019 2:44 pm
Forum: Hardware
Topic: Any DeskTopper users nowaday ?
Replies: 0
Views: 1037

Any DeskTopper users nowaday ?

Hi, if anybody still use a DeskTopper to recase a Falcon and is kind enough to answer these questions : I'm currently dusting off my Falcon recased in a second hand one for years. 1) I never got the PowerUp add-on (reset and power buttons on the front side and two other things, I think probably leds...
by danorf
Mon May 06, 2019 4:32 pm
Forum: 680x0
Topic: YACHT, MULU # and an extra program fetch
Replies: 10
Views: 2960

Re: YACHT, MULU # and an extra program fetch

Hello, First thank you for your interest in these little piece of doc Yacht was (and still is ?). I confirm the typo for the MULU #<data> line. I made a wrong copy/paste for the <ea> exec time (got the line from the .L section and not from the .W section). The line should read : #<data> | 38+2m(1/0)...
by danorf
Thu Apr 11, 2013 4:12 pm
Forum: Coding
Topic: horizontal scrolling on ST
Replies: 575
Views: 148273

horizontal scrolling on ST

@Eero Tamminen : thanks for these enlightments.
by danorf
Thu Apr 11, 2013 3:09 pm
Forum: Coding
Topic: horizontal scrolling on ST
Replies: 575
Views: 148273

Re: horizontal scrolling on ST

And the data that is at (a2) is simply whatever needs to be shifted in from the from the right. There are many schemes for shifting in new pixels. I just used something generic to get a good idea of the timing. In your code, you only write at (a2)+ and you never read data pointed by this register, ...
by danorf
Thu Apr 11, 2013 1:21 pm
Forum: Coding
Topic: horizontal scrolling on ST
Replies: 575
Views: 148273

Re: horizontal scrolling on ST

dml wrote:(I'm answering this, only because I've used it quite a lot!)

Many thanks ! :cheers:
by danorf
Thu Apr 11, 2013 12:48 pm
Forum: Coding
Topic: horizontal scrolling on ST
Replies: 575
Views: 148273

Re: horizontal scrolling on ST

I will share that if i resume that research, because those tests were left unfinished and not so well organized as my 25+ years old sources :D I can't share that at the moment because i would have to look where exactly are the files that do that in the hundreds of sync tests i have done in 2006. Do...
by danorf
Thu Apr 11, 2013 12:41 pm
Forum: Coding
Topic: horizontal scrolling on ST
Replies: 575
Views: 148273

Re: horizontal scrolling on ST

I like Paulo's way. Modifying Paulo's code a little I get a total of 2512 cycles per scanline for a 3 or 4 pixel shift. The two pixel shift is 2352 cycles leaving about 10,000 cycles free at 16.67 fps. Not a lot. But maybe enough for a simple scroller. I like it too. Don't misunderstand me, if I ha...
by danorf
Thu Apr 11, 2013 12:08 pm
Forum: Coding
Topic: horizontal scrolling on ST
Replies: 575
Views: 148273

Re: horizontal scrolling on ST

You probably need the 32K pic from the first zip i posted first ... Ah, right. Now I could profile the part where it wraps the screen edge. Percentage-vise result is very slightly different. Whole trace is 240 VBLs: profile on b vbl="vbl+240" :once continue ... profile save SCLH2.txt As I...
by danorf
Thu Apr 11, 2013 9:58 am
Forum: Coding
Topic: horizontal scrolling on ST
Replies: 575
Views: 148273

horizontal scrolling on ST

ljbk wrote:
Eero Tamminen wrote:Is this already supposed to do something user visible? I see just black screen. :-)

Btw. Attached is Hatari profiler output from running it for ~8s.


You probably need the 32K pic from the first zip i posted first ...

I agree. I should have added the image file in my zip. Sorry.
by danorf
Thu Apr 11, 2013 12:06 am
Forum: Coding
Topic: horizontal scrolling on ST
Replies: 575
Views: 148273

Re: horizontal scrolling on ST

Hi ! The code pattern is not repeated 100% equal. The registers, ORed to D0 and D1, before storing the result, change. Attached you will find a zip with the program and a 32K pic. This code is as it was done in the late 80s, so it is far from perfect. Press '+' and '-' from the keypad for pixel jum...
by danorf
Sat Apr 06, 2013 1:15 pm
Forum: Coding
Topic: horizontal scrolling on ST
Replies: 575
Views: 148273

Re: horizontal scrolling on ST

It looks like this for 16 dots :!: : ... move.l (a1)+,d0 move.l (a1)+,d1 rol.l d7,d0 rol.l d7,d1 move.l d0,d4 and.l d5,d4 and d6,d0 swap d0 and d6,d0 or.l d2,d0 move.l d1,d2 and.l d5,d2 and d6,d1 swap d1 and d6,d1 or.l d3,d1 move.l d0,(a0)+ move.l d1,(a0)+ ... Can you, please, explain one or two th...
by danorf
Sat Apr 06, 2013 9:05 am
Forum: Coding
Topic: horizontal scrolling on ST
Replies: 575
Views: 148273

Re: horizontal scrolling on ST

From the source code it looks like addxscroll32 takes 120 extra cycles per 32 pixels, but your table suggests that it's 120 extra cycles per scanline. Which is it? Maybe I'm missing something. The formula to calculate the nb of cycles taken for a complete scanline scrolling with addxscroll32 code i...
by danorf
Fri Apr 05, 2013 12:20 am
Forum: Development
Topic: Program counter and exception
Replies: 51
Views: 31363

Re: Program counter and exception

Today I completed the partial analysis of <EA> routines with the focus only on PC value. If you want ot extend your analysis to instructions, you have to track AU and AT change in <EA> routines as values put at this stage in these internal registers would be reused as is later. I haven't read all y...
by danorf
Fri Apr 05, 2013 12:03 am
Forum: Development
Topic: Program counter and exception
Replies: 51
Views: 31363

Re: Program counter and exception

From those <EA> microcodes you can also deduce other things: for example, contrary to expectations, for <EA>=.W (An)+, the register itself is incremented before the read cycle, it works because the old address is still on the data (?) bus. Not exactly (at least in your exemple). As I already write ...
by danorf
Thu Apr 04, 2013 10:59 pm
Forum: Coding
Topic: horizontal scrolling on ST
Replies: 575
Views: 148273

Re: horizontal scrolling on ST

I do not agree with you for scrolls close to 8 pixels because you can take advantage of the BYTE acess to speed up things. and So as i said, if i remember right, the worst case should be between 4 and 6 pixels scroll. For 7, 8 and 9 pixels scroll, I agree with you, I've forgotten the 8 pixels pecul...
by danorf
Wed Apr 03, 2013 2:46 pm
Forum: Coding
Topic: horizontal scrolling on ST
Replies: 575
Views: 148273

Re: horizontal scrolling on ST

It's tIme to speak about code ! I confirm that. And the problem is if you want to scroll more than 1 pixel at a time. Shifting 1 pixel will always look smooth, may be slow but smooth. Shifting 2 pixels via SW without any preshift trick leads to at least 3 frames to move the 4 bit planes screen: this...
by danorf
Mon Apr 01, 2013 8:30 pm
Forum: Development
Topic: Program counter and exception
Replies: 51
Views: 31363

Re: Program counter and exception

About your corrections, the problem is that the patent is kind of blurry and hard to read. About IRC, it's in fact the value that currently is in IRC (d16), still available on dbin. It's a way to say "the currently prefetched word". I know ! I really have to share my transcripted version ...
by danorf
Mon Apr 01, 2013 2:17 pm
Forum: Development
Topic: Program counter and exception
Replies: 51
Views: 31363

Re: Program counter and exception

Thanks again for the schema. If I get the first 3 steps right, we have: PC -> ALU SP -> AU write ALU at AU address What counts is that PC and no other register/computed value is pushed on the stack. Which explains much. Basically, yes. But as PC and AU are 32bit "registers" and ALU is onl...
by danorf
Mon Apr 01, 2013 2:12 pm
Forum: Development
Topic: Program counter and exception
Replies: 51
Views: 31363

Re: Program counter and exception

My guess is that the effective read and bus error happen at adrw2, before internal registers are updated. I've got a little discution with some old pals on this subject (and others). There's a chance than all the moves done within a nanoword are executed at the same time, with any sequencing. so th...
by danorf
Mon Apr 01, 2013 2:00 pm
Forum: Development
Topic: Program counter and exception
Replies: 51
Views: 31363

Re: Program counter and exception

Edit: except if danorf beats me to it! I won't beat anyone, I promise ! :mrgreen: .W (d16, An): ADSW1 -> ADSW2 -> ADRW2 ADSW1 au → aob copy effective fetch pointer (in fact it send the address in AU to the address bus) (dbin) → db e → au use IRC (d16 -> AU) (don't understand where you get IRC in th...
by danorf
Mon Apr 01, 2013 1:12 pm
Forum: Coding
Topic: horizontal scrolling on ST
Replies: 575
Views: 148273

Re: horizontal scrolling on ST

As far as I can say, I think the best code for doing 1 pixel wide horizontal scrolling with an 68000 with no dedicated hardware or any hardware trick as sync-scroll, must take 328 cycles per line (low res) per bitplan (in the best case). so you can scroll one or two bitplans of a full screen image (...
by danorf
Wed Mar 27, 2013 9:10 am
Forum: Hardware
Topic: Atari 1040 STe with 68010: newdesk.inf boot problems
Replies: 118
Views: 17328

Re: Atari 1040 STe with 68010: newdesk.inf boot problems

Oups ! Sorry, wrong click ! Anyone can delete this post ?
by danorf
Wed Mar 27, 2013 9:01 am
Forum: Hardware
Topic: Atari 1040 STe with 68010: newdesk.inf boot problems
Replies: 118
Views: 17328

Re: Atari 1040 STe with 68010: newdesk.inf boot problems

PMMU is in 68030 CPU. And (not sure as I talk only from remembering) that's why we have Pxxx instructions in the 68030 instruction set and not in the 68020 instruction set. The reason why they used TOS 3.06 and not 2.06 in PAK board may be just that 2.06 existed not then ? Anyone knows when PAK boa...
by danorf
Wed Mar 27, 2013 1:10 am
Forum: Hardware
Topic: Atari 1040 STe with 68010: newdesk.inf boot problems
Replies: 118
Views: 17328

Re: Atari 1040 STe with 68010: newdesk.inf boot problems

However.. the TT was originally developed to be a 68020 processor machine wasn't it (and was only changed to a 68030 to get one up on the Amigas), I would imagine TOS would have been developed to take that into account. :) Perhaps, that could be true for the first TOS shipped with TT (3.01) that sh...

Go to advanced search