Search found 51 matches

by sporniket
Fri Sep 18, 2020 8:06 pm
Forum: Hardware
Topic: Atari Mega ST 2 keyboard and mouse
Replies: 4
Views: 207

Re: Atari Mega ST 2 keyboard and mouse

I like the look of this keyboard...
by sporniket
Fri Sep 18, 2020 8:04 pm
Forum: Coding
Topic: Blitter routine OK on STE, KO on Falcon (skew register)
Replies: 24
Views: 1181

Re: Blitter routine OK on STE, KO on Falcon (skew register)

It's more that I am reluctant to run my application in supervisor mode 100% of the time. I mean, until now my game is not so technically demanding that any cycle count to keep 50 fps. Another positive side-effect of user mode is that anytime I have typo in my asm code, say forgetting a '#' before th...
by sporniket
Wed Sep 09, 2020 5:07 pm
Forum: Coding
Topic: Blitter routine OK on STE, KO on Falcon (skew register)
Replies: 24
Views: 1181

Re: Blitter routine OK on STE, KO on Falcon (skew register)

czietz wrote: Wed Sep 09, 2020 1:59 pm
czietz wrote: Wed Sep 09, 2020 6:06 am Note that it's not guaranteed that any register is preserved into the call of your routine that is called via Supexec. Better do not use registers to pass stuff.
Sorry, our post crossed. I will then avoid using registers to send parameters to my routine.
by sporniket
Wed Sep 09, 2020 6:14 am
Forum: Coding
Topic: Blitter routine OK on STE, KO on Falcon (skew register)
Replies: 24
Views: 1181

Re: Blitter routine OK on STE, KO on Falcon (skew register)

The problem root cause :  I was calling my routine using Supexec (xbios 38) in order to use hardware registers (my program runs in user mode) AND I used d1 to transmit the shift value. No problem under TOS 1.06/1.62, BUT subsequent TOS version would use d1 as scratch registers, then it fails. (mayb...
by sporniket
Tue Sep 08, 2020 7:09 pm
Forum: Coding
Topic: Blitter routine OK on STE, KO on Falcon (skew register)
Replies: 24
Views: 1181

Re: Blitter routine OK on STE, KO on Falcon (skew register)

Is it possible for an admin to edit the title as the problem is solved ?

Thank you all :)
by sporniket
Tue Sep 08, 2020 7:07 pm
Forum: Coding
Topic: Blitter routine OK on STE, KO on Falcon (skew register)
Replies: 24
Views: 1181

Re: Blitter routine OK on STE, KO on Falcon (skew register)

Hatari debugger has the "info blitter" command to show blitter register values. Add that to the fact that today I found a better breakpoint condition. Thank you, it helped me use the debugger more effectively. That and the program I wrote this morning as requested by mikro (thanks again) that i cou...
by sporniket
Tue Sep 08, 2020 5:14 am
Forum: Coding
Topic: Blitter routine OK on STE, KO on Falcon (skew register)
Replies: 24
Views: 1181

Re: Blitter routine OK on STE, KO on Falcon (skew register)

SteveBagley wrote: Tue Sep 08, 2020 5:04 am What happens if you rename your program to end with .TOS? Wondering if GEM is using the blitter to draw the mouse pointer and that’s corrupting your configuration of the blitter?
I get the same results as the screenshot.
by sporniket
Tue Sep 08, 2020 4:50 am
Forum: Coding
Topic: Blitter routine OK on STE, KO on Falcon (skew register)
Replies: 24
Views: 1181

Re: Blitter routine OK on STE, KO on Falcon (skew register)

I think the best you can do here is to post a small test prg which someone can run on real hardware and report results to you (I understand you are using an emulator for your tests). Here you are. tst_blit.zip I also put some reference screenshots of what I get for some setup. Edit : here are the s...
by sporniket
Mon Sep 07, 2020 7:51 pm
Forum: Coding
Topic: Blitter routine OK on STE, KO on Falcon (skew register)
Replies: 24
Views: 1181

Re: Blitter routine OK on STE, KO on Falcon (skew register)

Looking at Hatari code for emulating the blitter: https://git.tuxfamily.org/hatari/hatari.git/plain/src/blitter.c I don't really see there anything Falcon specific. However, other things than Blitter do work differently on STE & Falcon, and affect data you provide to Blitter: * Performance / timing...
by sporniket
Mon Sep 07, 2020 6:07 pm
Forum: Coding
Topic: Blitter routine OK on STE, KO on Falcon (skew register)
Replies: 24
Views: 1181

Re: Blitter routine OK on STE, KO on Falcon (skew register)

or.b #$80,BlitterMiscReg1.w .waitFinish\@ bset.b #7,BlitterMiscReg1.w Since you're starting the Blitter already with the "or" instruction you only need to check if the Blitter is still running by using "btst". Probably a typo? or.b #$80,BlitterMiscReg1.w .waitFinish\@ btst.b #7,BlitterMiscReg1.w Th...
by sporniket
Sun Sep 06, 2020 7:15 am
Forum: Coding
Topic: Blitter routine OK on STE, KO on Falcon (skew register)
Replies: 24
Views: 1181

Blitter routine OK on STE, KO on Falcon (skew register)

Hello, As the title says, I successfully used the blitter to display some sprites on screen without preshifting. When the same program is run on the Falcon (a user of a real one kindly reported this problem, and I could reproduce on Hatari) it looks like the blitter does not shift the data according...
by sporniket
Sat Sep 05, 2020 9:09 pm
Forum: Games - General
Topic: Sporny's Wrecking Ball [homebrew - Atari STE]
Replies: 16
Views: 1049

Re: Sporny's Wrecking Ball [homebrew - Atari STE]

Edit2: second version actually runs on falcon,but get same sort of black vertical bars as in picture above running from ST-low on 4.04.Could quit,just need some clean up at exit for got the usual 'output device' something in GEM. Did you do your test on an actual Falcon ? I tried on Hatari and got ...
by sporniket
Mon Aug 31, 2020 9:24 pm
Forum: Games - General
Topic: Sporny's Wrecking Ball [homebrew - Atari STE]
Replies: 16
Views: 1049

Re: Sporny's Wrecking Ball [homebrew - Atari STE]

Thanks for the feedbacks and tips.
by sporniket
Mon Aug 31, 2020 5:03 am
Forum: Games - General
Topic: Sporny's Wrecking Ball [homebrew - Atari STE]
Replies: 16
Views: 1049

Re: Sporny's Wrecking Ball [homebrew - Atari STE]

Thanks for the tips on HW checking.
by sporniket
Sun Aug 30, 2020 9:45 pm
Forum: CosmosEx
Topic: CosmosEx 3.0 issues - can't get it to work [SOLVED]
Replies: 29
Views: 1458

Re: CosmosEx 3.0 issues - can't get it to work [SOLVED]

Please check my other message about the weird url for the 'yocto.zip' archive, before resorting to reimaging the sd cards. About which image to use, I cannot answer for sure as I don't own one. That said, given there are mention of the "yocto" and reading the page you mention, I infer that your CEx ...
by sporniket
Sun Aug 30, 2020 8:15 pm
Forum: Games - General
Topic: Sporny's Wrecking Ball [homebrew - Atari STE]
Replies: 16
Views: 1049

Re: Sporny's Wrecking Ball [homebrew - Atari STE]

Thanks for the feedback :) * I guess I will be able to add some easy checks to recognize blitter (I remember that there is a xbios call that can help). I wonder whether the same is possible for the dma sound and microwire though ? * I guess Emutos does not like my blitter routine ??? To me it looks ...
by sporniket
Sun Aug 30, 2020 10:07 am
Forum: Games - General
Topic: Sporny's Wrecking Ball [homebrew - Atari STE]
Replies: 16
Views: 1049

Re: Sporny's Wrecking Ball [homebrew - Atari STE]

A little update, with an alpha 2 version . Atari STE only, it looks good. I am a bit disappointed by dma sound level that seems very under soundchip level. I guess I'll have to use dma sound for all sound effect. An annoying bugs remains to fix, that allow to clear a good parts of the level. I may h...
by sporniket
Sat Aug 29, 2020 8:09 pm
Forum: CosmosEx
Topic: CosmosEx 3.0 issues - can't get it to work [SOLVED]
Replies: 29
Views: 1458

Re: CosmosEx 3.0 issues - can't get it to work [SOLVED]

Reading the log again, I just noticed that the script try to download an archive, the log it is written "https://github.com/atarijookie/ce-atari-releases/a[... a lot of spaces...]rchive/yocto.zip", instead of "https://github.com/atarijookie/ce-atari-releases/archive/yocto.zip", and thus wget rejecte...
by sporniket
Sat Aug 29, 2020 7:57 pm
Forum: CosmosEx
Topic: CosmosEx 3.0 issues - can't get it to work [SOLVED]
Replies: 29
Views: 1458

Re: CosmosEx 3.0 issues - can't get it to work [SOLVED]

GoldenGrahams wrote: Fri Aug 28, 2020 8:31 pm apt-get: command not found
Well, I've run out of simple procedure to get going. At this point I wonder whether a lot of the usual programs have been erased by an update process gone wrong, and whether one should just get the micro sd cards and restore it from a working image...
by sporniket
Fri Aug 28, 2020 6:18 pm
Forum: CosmosEx
Topic: CosmosEx 3.0 issues - can't get it to work [SOLVED]
Replies: 29
Views: 1458

Re: CosmosEx 3.0 issues - can't get it to work [SOLVED]

ho, I did not noticed, "root@ce:/ce#", you are already root... just type "apt-get install git"
by sporniket
Thu Aug 27, 2020 7:43 pm
Forum: CosmosEx
Topic: CosmosEx 3.0 issues - can't get it to work [SOLVED]
Replies: 29
Views: 1458

Re: CosmosEx 3.0 issues - can't get it to work [SOLVED]

Hum, maybe a "sudo apt-get install git" would solve your problem ? On a previously pasted logs, it says it is running on Raspbian.
by sporniket
Thu Aug 27, 2020 6:59 pm
Forum: Coding
Topic: ST/E Blitter FAQ released
Replies: 17
Views: 5304

Re: ST/E Blitter FAQ released

yep, that's the doc I studied this month when I was on holidays far away from my computer. Very eye opening about the various uses of the blitter other than displaying sprites without pre-shifting.
by sporniket
Wed Aug 26, 2020 5:35 pm
Forum: FPGA Chat
Topic: ZynqBerryZero - a possible FPGA target?
Replies: 5
Views: 552

Re: ZynqBerryZero - a possible FPGA target?

Well, it looks cute. I plan to start first with a goboard first to do the nandland tutorials, and the form factor of this ZynqBerryZero makes it a candidate for when the time to upgrade will come for me.

Thanks.
by sporniket
Sun Aug 23, 2020 9:11 pm
Forum: Games - General
Topic: Sporny's Wrecking Ball [homebrew - Atari STE]
Replies: 16
Views: 1049

Re: Sporny's Wrecking Ball [homebrew - Atari STE]

It seems I will not be able to do without some special behaviour of the ball when hitting the paddle... (however, when the ball goes e.g. to the right and hit the top-left corner of the paddle, it will rebound to the left). I believe I can tweak things a little. The blitter will be used to display s...
by sporniket
Fri Aug 21, 2020 9:29 pm
Forum: 680x0
Topic: 680x0 obscure wrong branching and other coding dangers...
Replies: 19
Views: 1031

Re: 680x0 obscure wrong branching and other coding dangers...

The 'false' of dbf means that only the register reaching -1 when decremented will allow to exit from the loop, if I remember correctly.

Others 'dbxx' means that there is another condition to the exit.

Go to advanced search