Search found 1336 matches

by npomarede
Fri Jun 19, 2020 3:42 pm
Forum: Demos - General
Topic: STE Blitter
Replies: 19
Views: 1192

Re: STE Blitter

the outcome from my tests on the real STe is that split is isn't stiff. CPU part can takes more bus cycles than 64 and the BLiTTER takes 65 on STE and 66 on Mega STE. And in two last cases, only 63 bus cycles are for data the rest are for bus mastering. Hi if we leave the bus arbitration time aside...
by npomarede
Thu Jun 18, 2020 2:04 pm
Forum: 680x0
Topic: Drawing horizontal lines with the blitter
Replies: 2
Views: 3270

Re: Drawing horizontal lines with the blitter

The only thing I don't understand really is the half tone RAM. The first position is used for bitplane 1, but bitplane 2,3,4 must be in the LAST part of this RAM. I would had expect it to use the first 4 addresses since I draw 4 lines (1 line = 1 bitplane). Maybe there is a good explanation on this...
by npomarede
Tue May 12, 2020 11:39 am
Forum: Hatari
Topic: linux: force hatari window position
Replies: 5
Views: 433

Re: linux: force hatari window position

hi
I think it should be handled by the window manager for best tresults :
Gnome / KDE indeed allow to remember the size/position/desktop for a program to restore it next time it's launched.
I don't know for xfce, I see a program named "devilspi" might allow to do that, but I never used it.
Nicolas
by npomarede
Fri May 08, 2020 9:00 pm
Forum: Coding
Topic: Sync-tricks/fullscreen discussion
Replies: 120
Views: 53562

Re: Sync-tricks/fullscreen discussion

You can't prevent the video counter being reset, not without eliminating vertical sync. The video counter lives at MMU, not at GLUE, and MMU has no concept of refresh rate frequency. MMU restarts the video counter when the external VSYNC signal is asserted. Which means that the only way to prevent ...
by npomarede
Sat May 02, 2020 8:52 pm
Forum: Demos - General
Topic: Fullscreen + maxYMiser / Megatizer / Triplex / Chipmon
Replies: 4
Views: 1388

Re: Fullscreen + maxYMiser / Megatizer / Triplex / Chipmon

Hi STNICC 2015 demo by Checkpoint plays a Scavenger's tune using some SID like effects, and it does this also during the fullscreen part using a modified replay routine. I don't think you can get exactly the same result in such case, but doing the SID like / MFP interrupt on every possible HBL gives...
by npomarede
Sun Apr 12, 2020 1:32 pm
Forum: Coding
Topic: Blitter Execution Times
Replies: 37
Views: 4884

Re: Blitter Execution Times

The exact behavior it's a little complicated to describe here. If you can understand Verilog, I recommend to check my Blitter FPGA core for full details: https://github.com/ijor/stBlitter Hi looking at the verlilog code, I see that FXSR value is latched when writing to skew register, but not NFSR. ...
by npomarede
Fri Apr 10, 2020 8:51 pm
Forum: Coding
Topic: Blitter Execution Times
Replies: 37
Views: 4884

Re: Blitter Execution Times

uko wrote:Ok thanks for the explanation ! I'm going too look further in Hatari code then ! :wink:
You're welcome to do so ; but don't spend too much time with the blitter part, I already have some code that I need to finish to have a more accurate blitter's loop.
by npomarede
Fri Apr 10, 2020 8:42 pm
Forum: Coding
Topic: Blitter Execution Times
Replies: 37
Views: 4884

Re: Blitter Execution Times

Nicolas, I have also seen that you finally have reverted the second patch I provided you supposed to fix this Xcount=1/NFSR problem in Hatari, because it caused some regression with the 'Oompa' demo. In your opinion, is the problem more complex than the above description by ijor, or is it simply th...
by npomarede
Fri Apr 03, 2020 8:56 pm
Forum: Coding
Topic: Blitter Execution Times
Replies: 37
Views: 4884

Re: Blitter Execution Times

Hi Uko took some time to look at Hatari's code and sent me a patch to fix the condition where NFSR was incorrectly used to trigger a read-write-modify operation (instead of just relying on the endmask). So current Hatari devel version should now have correct number of cycles when blitting with Uko's...
by npomarede
Thu Apr 02, 2020 8:20 pm
Forum: Hatari
Topic: Hatari unusable with trackpad in fullscreen mode (Hatari v2.0.0 and SDL 2 on Linux)
Replies: 19
Views: 10400

Re: Hatari unusable with trackpad in fullscreen mode (Hatari v2.0.0 and SDL 2 on Linux)

Hi As Eero is saying, I agree that the root of the problem might be in SDL2 and/or the underlying library. But seeing as this problem is often reported when it comes to fullscreen and different PC hardware, maybe we could have a parameter in Hatari to handle this. For example if I take above code as...
by npomarede
Sat Mar 21, 2020 10:14 am
Forum: Coding
Topic: Sync-tricks/fullscreen discussion
Replies: 120
Views: 53562

Re: Sync-tricks/fullscreen discussion

I thought about what you're asking some times years when working on Hatari and measuring at which exact video cycle video counters are reloaded and unfortunately it won't work : my idea was to toggle to 60 Hz around line 263 at the place wher we can see that video counter FF8201/03 is copied to FF82...
by npomarede
Mon Feb 24, 2020 10:40 am
Forum: 680x0
Topic: The secrets of the 68000
Replies: 22
Views: 5554

Re: The secrets of the 68000

Hi just to let you know that all the work done by Toni with WinUAE's cpu core (also with some input from Ijor) has been merged in public Hatari devel source tree. So now you can test all those "undocumented" flags/behaviours as the 68000 cpu core in Hatari should be 100% accurate. Windows/Linux pre-...
by npomarede
Tue Feb 11, 2020 9:16 am
Forum: Hatari
Topic: Hack fancy soundship visualizer into hatari
Replies: 5
Views: 1167

Re: Hack fancy soundship visualizer into hatari

Hi I add a similar idea to display the waveforms of each voices, but never really looked into it. I never checked how to open another window with sdl2, but I guess it doesn't require so much code. Then in YM2149_DoSamples_250() one just need to send the 3 computed values of 'bt' to another function ...
by npomarede
Mon Feb 10, 2020 9:48 pm
Forum: Hatari
Topic: STe/Falcon adjustable DMA sound volume
Replies: 5
Views: 4772

Re: STe/Falcon adjustable DMA sound volume

Hi
thanks for the precision. Unfortunately I didn't have time to look at this recently, but it's still on the TODO list :)
by npomarede
Sat Feb 01, 2020 10:08 pm
Forum: Coding
Topic: Sync-tricks/fullscreen discussion
Replies: 120
Views: 53562

Re: Sync-tricks/fullscreen discussion

Yes, there're a few corner cases where background color is used when it should be blank signal, this is because so far Hatari was developed with compatibility in mind with existing demos. So most existing sync tricks are supported, but on the opposite there's no "real" shifter/mmu state machine for ...
by npomarede
Sat Feb 01, 2020 8:10 am
Forum: Coding
Topic: Sync-tricks/fullscreen discussion
Replies: 120
Views: 53562

Re: Sync-tricks/fullscreen discussion

HI, if you taking about the E clock jitter that delays HBL from 0 to 8 cycles, then this delay is not the same on every HBL, but it can be predicted. Note that the E clock jitter is also added to the VBL interrupt, this is because HBL and VBL are handled as autovectored interrupt in the ST and this ...
by npomarede
Mon Jan 20, 2020 6:54 pm
Forum: 680x0
Topic: The secrets of the 68000
Replies: 22
Views: 5554

Re: The secrets of the 68000

Hi, this is quite a shortcut of what the Amiga is :) Yes, there's no supervisor only memory area, but instead of detecting HW by writing at different addresses and see if you get some bus error (as the TOS does when trying to detect STE/Falcon/TT for example), the Amiga and all its extension boards ...
by npomarede
Thu Jan 09, 2020 9:52 pm
Forum: Coding
Topic: Blitter Execution Times
Replies: 37
Views: 4884

Re: Blitter Execution Times

I will have a look at this case ; I have some work in progress to fix some wrong cases where xcount=1 (as Ijor described them to me) and not many time at the moment. I will see if this can be fixed on current code base or if this needs to be part of the rewrite I'm planning to do. Hi ! Thanks for y...
by npomarede
Thu Jan 09, 2020 4:37 pm
Forum: Coding
Topic: Blitter Execution Times
Replies: 37
Views: 4884

Re: Blitter Execution Times

No problem. The source needs to be recompiled to change the test parameters, but I have compiled a version that tests the strange case. It is attached to this post. It requires around 55 scanlines on Hatari and 48 on Steem SSE. BlitTestTOS.zip Hi I will have a look at this case ; I have some work i...
by npomarede
Wed Jan 08, 2020 9:53 pm
Forum: Coding
Topic: Blitter Execution Times
Replies: 37
Views: 4884

Re: Blitter Execution Times

Hi
could you provide the executable in your zip archive ? My STE is currently not available (still packed after recently moving home), but maybe some other people here could run your tests on their STE.
Nicolas
by npomarede
Tue Jan 07, 2020 1:37 pm
Forum: Coding
Topic: Blitter Execution Times
Replies: 37
Views: 4884

Re: Blitter Execution Times

Skewing or masking don't add any additional cycles. If I'm not wrong: - when mask is different than $FFFF then you have to add one bus cycle for destination read; - skewing has an impact onto cycles when XFSR / NFSR is set. Hi not to be too much punctilious, but I would say these 2 conditions have ...
by npomarede
Mon Jan 06, 2020 10:08 pm
Forum: Coding
Topic: Blitter Execution Times
Replies: 37
Views: 4884

Re: Blitter Execution Times

Masking itself doesn't add cycles, but the blitter doc states that in some case depending on the mask value a RMW operation will be made, which add cycles because of the required additional memory access (see this comment in the source " When NFSR or mask is not all '1', a read-modify-write is alway...
by npomarede
Mon Jan 06, 2020 9:32 pm
Forum: Coding
Topic: Blitter Execution Times
Replies: 37
Views: 4884

Re: Blitter Execution Times

Hi if you want you can have a look at Hatari's source code, I think timings are really accurate, as it was verified with several demos running in overscan while using blitter at the same time (see the great "We were" by Oxygene for example). I also compared several own test programs on real STE and ...
by npomarede
Mon Jan 06, 2020 12:50 pm
Forum: 680x0
Topic: The secrets of the 68000
Replies: 22
Views: 5554

Re: The secrets of the 68000

Hi I confirm the latest changes from WinUAE are merged in my devel branch for Hatari and that it should support all those bus/address error behaviors for 68000 (including the examples that Ijor reported above). I will push the changes to main tree soon, I have to do some test first with new 68030 + ...
by npomarede
Mon Dec 09, 2019 9:11 am
Forum: HxC Floppy Emulator
Topic: HxC Software updates
Replies: 2
Views: 5372

Re: HxC Software updates

Great tool, being able to browse all kind of disk formats with only one program is really nice.
And thanks for making it available under Linux too :)

Go to advanced search