2021-08-06.log

_BnuWhich could possibly be solved by using some sort of really complicated DMA "command queue" in memory, but making sure that stays in sync and doesn't overflow or something without communicating with the ARM through AXI would also be a challenge.00:01
mntmnthat's what axi is supposed to do...00:01
mntmni mean the interconnect and stuff00:02
mntmnit doesn't really make sense to pile workarounds on top of that without first looking at how the axi stuff itself can go wrong perhaps00:02
mntmnM_AXI_GP0 has a bunch of config flags for example00:02
mntmnHAS_CACHE for example00:02
_BnuLack of Nibbles support, surely...00:02
_BnuAnd yeah, I didn't dare touch any of those.00:03
_BnuThe only thing I've messed with is the unaligned transfers for the VDMA, haha.00:03
mntmnalso, i see that for some reason all that usb buffer select stuff is going through multiple stages00:04
_BnuI tried doing the usual Goole searches for XiLcAcHeFlUsH and stuff, but didn't find anything useful.00:05
mntmnaxi_reg5 <= slv_reg5;00:06
mntmn    usbb <= axi_reg5;00:06
_BnuGreetings from Germany and usbb.00:06
mntmnthat's a few clocks later00:06
mntmnif the amiga was quick enough maybe it could write to buffer memory via dma before usbb was set...00:07
mntmnor if the axi transaction is delayed enough...00:07
mntmnyou know, such things00:07
mntmnand the axi stuff runs only at 100mhz\00:08
mntmnnaja the zorro state machine also at 100mhz00:08
mntmnso amiga can't go faster than that00:08
_BnuTime to overclock the FPGA fabric to 175MHz so we have to rework all the video timings to 1.75x.00:08
mntmnmhm00:09
mntmnanyway i should go home && sleep00:10
_BnuMe too... except I'm already home...00:11
mntmn!!!00:12
- RobDangerous (QUIT: Ping timeout: 245 seconds) (~Thunderbi@p200300ec8f3e1c00946d7ef7cfdde9d0.dip0.t-ipconnect.de)00:18
mntmn_Bnu: in the care home i thought about this more and i think the next logical step would be to move usb buffer sel to an fpga register (without going through arm) and or getting rid of multiple buffers/paging and introduce one bigger buffer01:07
- bfarmilo (QUIT: Read error: Connection reset by peer) (~bfarmilo@202.56.40.240)01:12
+ bfarmilo (~bfarmilo@202.56.40.240)01:14
- bfarmilo (QUIT: Ping timeout: 258 seconds) (~bfarmilo@202.56.40.240)02:26
+ bfarmilo (~bfarmilo@202.56.40.240)02:31
CottonUndiesQ1: For the upcoming Audio Add-on for the ZZ, is there already there, or possible to consider a SPDIF digital out? 02:39
CottonUndiesQ: For the upcoming bootable ZZ USB: Is there any amazing possibility of having an additional USB storage stick work at the same time off of a hub? I only ask as if I can boot off of one USB, the 2nd USB would still remain useful to transfer files. Or maybe a solution already is available that I'm not thinking of?02:41
- bfarmilo (QUIT: Quit: Leaving) (~bfarmilo@202.56.40.240)05:44
+ bfarmilo (~bfarmilo@202.56.40.240)05:50
_BnuACTION bibbers08:25
_BnuCottonUndies: There's some way to use smb/samba/whatever it's actually called network shares on the Amiga, but unfortunately I don't know exactly how it works. I've never really had any working network shares on my home network, so...09:09
_BnuBut you can probably use that for reasonably fast file sharing between computrons.09:09
Jopesmbfs works nicely09:22
Jopethe latest one from github09:22
+ RobDangerous (~Thunderbi@p200300ec8f3e1c002d0ccd643d9ce569.dip0.t-ipconnect.de)09:49
_BnuACTION commits some codes11:10
mntmn:011:17
_Bnu49.51Hz should be enough for anyone, right...11:45
pasikno! we want 49.92 Hz!11:45
pasik:)11:45
_BnuI mean, if MiniMig does NTSC Amiga at 59.84 Hz...11:45
pasikheh11:46
mntmnhaha11:52
mntmnthe pushenings11:52
_BnuI really wish I could remember how I got the BALLSTER PROGRAM CABLE to work in Windows the last time around, lol.12:14
_BnuA4000 pls. Just load the Pinball...12:17
mntmnoop12:29
_Bnuhttps://cdn.discordapp.com/attachments/789807768554831902/873152899105062922/unknown.png12:38
_BnuDo you think it's close enough... maybe I can get it a tiny bit closer, though.12:38
_BnuAbusing my custom RGBEasy applications to check the refresh rates...12:38
_BnuMaybe I can get a tiny bit closer from the other side... let's see.12:41
mntmnhaha what is this12:41
_BnuJust using the RGBEasy SDK for the capture cards to monitor settings changes on inputs.12:41
_BnuInput 1 being the ZZ9000 HDMI and Input 2 being the analog RGB.12:42
_BnuHm, next step down is 49.918. Technically closer to 49.920 than 49.926, so that's probably the one to go with.12:44
pasiksounds like datapath card ?12:44
_BnuYeah, I have a bunch of Datapath cards.12:45
pasiki have one aswell12:45
pasikvisionrgb e2s or smth12:45
_BnuYeah, I have three of those, I think. Maybe two and one E2.12:45
_BnuTwo VisionAV with two inputs, and some E1 cards.12:46
pasiknice12:46
_BnuAh yeah, I have two E2S and one E2, because I sent an E2S to mntmn, haha.12:46
mntmni need an arm64 driver for it...12:47
mntmn49.918 rounded up is already 49.92 :312:48
_BnuI would recommend running it in a Windows VM or something, since the SDK for Linux kind of sucks and is V4L-based.12:48
Jopenice and round <312:48
_BnuSo it keeps breaking every single time they update the V4L crap in the kernel.12:49
_BnuWhich is, like... every single time.12:49
_BnuKing of sucks.12:50
_Bnuhttps://cdn.discordapp.com/attachments/789807768554831902/873156338421739520/unknown.png12:51
_BnuAlso behold my super-sophisticated way of interfacing with the RGBEasyThing command line app...12:52
pasik0.00 Hz12:52
_BnuYeah, no signal. I don't bother checking for no signal, though.12:52
pasiksorry, more precise 0.000 Hz12:52
_BnuI turned off the Amyga because it's time for lunch...12:52
mntmnok i am in the office13:21
mntmn_Bnu: do you think it would run on windows on arm...13:21
_BnuDoubtful... maybe if you could get Datapath to compile a driver package for it, haha.13:23
mntmnget me datapath on the phone...13:26
_BnuLet's see, they email me now and then...13:29
_Bnu+44 (0)1332 294 44113:29
mntmnthat's... the united kingdom13:31
mntmnok i wanted to debug some usb buffer stuff >:|13:31
mntmn_Bnu: i can try to explain my theory13:32
mntmn    usbb <= axi_reg5;13:32
mntmnthis is in the always block, right13:32
mntmnso it is always happening, each clock 13:32
mntmnand it comes from    axi_reg5 <= slv_reg5;13:33
mntmnand this slv_reg5 is set in the AXI4-lite state machine from xilinx that is in the same file but different process13:33
mntmnwe do not know for sure when a thing arrives there from AXI interconnect and those things13:33
mntmnso imagine amiga says, please select buffer 213:33
mntmnit goes through ARM, ARM says ok lets tell the FPGA about it13:34
mntmnvia AXI4-lite interconnect13:34
mntmnso the little car with buffer 2 select in it goes on a roadtrip through AXI buses and interconnects13:34
mntmnwhile the ARM goes on with its business and acknowledges the zorro write for this13:34
mntmn(running at 666mhz, while the little axi car drives with 100mhz)13:34
mntmnso the next transaction is amiga writing some bytes directly to memory through the FPGA via AXI HP bus13:35
mntmnwe don't know if the bufsel request actually arrives before that and if usbb is toggled on time13:36
mntmndid the little car arrive...13:36
mntmnit could even switch in the middle13:36
mntmni.e. first byte goes to buffer 1, next byte goes to buffer 2...13:36
mntmni will try to falsify my theory and prove myself wrong13:37
mntmnby introducing a register for usbb in the fpga zorro side of things. 13:37
_BnuI hate that little car... AXI should buy a new car...13:38
mntmnand setting that instead of going through zorro->arm->axi4lite->zorro13:38
mntmni hope my theory is wrong but i also hope it is not wrong13:38
mntmnand regarding the cache flush: i imagine that axi transactions are halted for a while13:39
mntmnso this could maybe introduce a traffic jam13:39
mntmnwhile AXI HP is maybe still going through... but i have not confirmed any of this empirically13:40
mntmnwe could also read back the usbb set before writing to it...13:41
mntmnnaja.13:41
mntmngenerate beepstream...13:52
mntmnit is really convenient to have device drivers inside of the firmware btw13:52
mntmnjust one giant blorb...13:52
_BnuACTION generates blobs13:56
_BnuYeah, it's just somewhat inconvenient to update them, haha. That's why I keep them as separate external files on the PiStorm.13:56
_BnuBut without guaranteed file system access to a USB stick or something to load them from, that would be difficult.13:56
mntmnZZetPatch14:00
mntmnlollll14:01
mntmneverything was fine until a buffer > 0 was needed...14:01
mntmnyou should've seen the glitches14:01
+ isoriano (~isoriano@5.147.209.166)14:02
+ isoriano_ (~isoriano@5.147.209.166)14:02
isoriano_Good afternoon.14:02
RobDangerousOooh, Bnu blobs14:03
mntmnhi14:03
isoriano_mntmn: you are the one who motivates people :-) https://ibb.co/g3HFTLv14:09
mntmnisoriano_: haha pretty cool, and i didn't have to do anything!14:10
isoriano_I really like that idea so much with your ZZ!!14:11
mntmn_Bnu: LOL our USB buffer DMA area is 0xa000-0x10000 right14:12
mntmn0xffff that is14:12
mntmnthat's 24kB or 48 buffers14:13
mntmnthe whole buffer toggling is nonsense14:13
mntmnbecause there are only 3214:13
_BnuI just need buffers...14:13
_BnuActually, I could really use someone to confirm to me what the refresh rates are on an NTSC Amiga.14:14
_BnuIt should be 59.928 and 50.35X Hz, but I have no way of checking myself.14:15
mntmni also cannot check this... we need local experts14:16
mntmnok bizarre14:28
mntmnif you do memcpy(a,b,512) it is ok for gcc to not include a real memcpy14:28
mntmnbut if you do memcpy(a,b,512*x), that is a no-no, needs a real implementation14:28
mntmnthe forbidden function http://amigadev.elowar.com/read/ADCD_2.1/Includes_and_Autodocs_3._guide/node01FA.html14:30
- WoC (QUIT: Remote host closed the connection) (woc@2603-8080-cd40-00c6-eaaf-8a29-4225-dc1f.res6.spectrum.com)14:35
+ WoC (woc@2603-8080-cd40-00c6-eaaf-8a29-4225-dc1f.res6.spectrum.com)14:35
_BnuCopyMemQuick is dangerous.14:39
mntmnit looks very dangerous14:44
mntmnok writing now goes always wrong in predictable way.14:44
mntmnall the md5sums of my copies are wrong in the same way14:44
mntmnlets see14:44
mntmnmaybe it would be smorter to make a file that has some regular pattern in it...14:45
mntmnthey start to be wrong at 0x4000.14:46
mntmnthat's the same like yesterday14:46
mntmn0x9000-0xcfff is ok again14:47
mntmn0xd000-0x21800 or so is wrong again'14:47
mntmn>>> 0x4000/51214:48
mntmn3214:48
mntmnthat's the number of buffers14:48
mntmn> #define BLOCKS_AT_ONCE 3214:48
mntmnok so it wraps around14:57
mntmnat 0x4000 the same content from 0x0000 starts again!14:57
_BnuPower squats.14:57
mntmnah i think because i made a bug14:59
mntmnja14:59
mntmnthis: memcpy(registers-0xd0+0xa000+offset+(j<<SD_SECTOR_SHIFT), data+offset+(j<<SD_SECTOR_SHIFT), 512);14:59
mntmnshould be: memcpy(registers-0xd0+0xa000+(j<<SD_SECTOR_SHIFT), data+offset+(j<<SD_SECTOR_SHIFT), 512);14:59
mntmnok workbench boots again :D15:03
mntmnwow id_data_abort: arm_exception_handler()!15:04
_BnuIt's probably poking in some memory area where it's not allowed...15:09
_BnuLike the ETH buffers or something. I had this happen with the RTG when they were in the middle of the framebuffer memory somewhere.15:10
mntmnmaybe15:10
_BnuAlso, I finally figured out the intended use of those micro SD->SD card adapters.15:10
mntmnok now it works fine, but i also had to put a bit of m68k cache flushing after the amiga-side memcpy. because of 68030.15:10
mntmnis there a amiga disk speed testing thing...15:10
_BnuOh yeah, in case you missed it, I pushed a commit to drivers earlier. So you don't orphan it or something, haha.15:11
_BnuThere's SysInfo's "drives" thing.15:11
mntmnah yeah15:11
_BnuShould be around 5-10MB/sec?15:11
mntmnsysinfo crashes the amooga15:12
mntmnmaybe because of my frankenworkbench15:12
mntmn(guru on start)15:12
_BnuI think it comes with everything it needs on the floppy image, but not sure.15:13
_BnuAlso, the intended use of the SD card adapters is to push the micro SD card in/out of the ZZ9000...15:13
_Bnuhttps://cdn.discordapp.com/attachments/789807768554831902/873193485451276398/unknown.png15:19
_BnuLuckily there seems to have been a perfect fit for NTSC on a PAL Amiga.15:19
mntmnawesome15:20
mntmnwhat did you tweak?15:20
_Bnu{    720,       480,    720,    752,    800,    490,    492,    525,    0,          25,     25175000,       60,             0,      61, 5, 49 }, // 720x480 non-standard VSync (PAL Amiga)15:20
_BnuClock wizard numbors.15:20
_Bnu// 61 / 05 / 049 = 24.8980 MHz15:21
_BnuFrom my ever so useful findmhz application.15:21
_Bnu(It's literally only useful for this.)15:21
_Bnu50.349... feels close enough to approximately 50.35.15:37
_BnuIt's also as close as I can get without going to 50.3615:39
_Bnuhttps://cdn.discordapp.com/attachments/789807768554831902/873201343161065502/unknown.png15:50
mntmncool cool!15:54
mntmnmy coworkers forced me to make lunch, so i don't know where i was before doing that15:57
_BnuI'm going to push another commit to the drivers...15:58
_BnuIs it okay if I push some stuff to firmware wip19a, or do you have a zillion changes to main.c queued up?16:01
mntmnzillion16:01
_BnuOr a trillion...16:01
mntmni do have a bunch of stuff yeah... but it depends which parts you are touching16:01
_BnuJust videocap stuff.16:01
mntmnshould be fine16:02
_BnuThat's what they all say... and then the world ends...16:02
mntmnamiga is borked16:02
mntmnwhat to tell him https://twitter.com/Styrbjorn/status/1423645473450123264?s=2016:03
mntmndme driver or something?16:03
_BnuUhhh.16:06
_BnuNever really seen that happen.16:06
_BnuIt looks like it's trying to display a requester.16:06
mntmnyeah16:06
mntmnthis lha is illegal https://aminet.net/package/util/moni/SysInfo16:07
mntmni cannot extract it fully on linux...16:07
_BnuIs that AmigaOS 3.2? ScreenMode prefs look so weird.16:08
_BnuWell, extracting Amiga LHA files on anything but Amiga is not recommended (TM).16:08
mntmnyeah everything looks weird there16:09
mntmnyeah i just wanted to compare the md5sum16:09
mntmnbecause SysInfo always crashes on the amiga16:09
mntmnall this corruption...16:09
_BnuDeleting user data.16:10
mntmnah i still have write corruption. now it's just in 10% of cases.16:10
_BnuAlso, Jope, RobDangerous, anyone else who feels like testing it, the .card files and the boot.bin in http://www.apehead.se/snakes9000 should now allow using the non-standard refresh rates.16:11
mntmn:O16:11
_BnuRequires a file in ENV called ZZ9000-NS-VSYNC, or ZZ9000-NS-VSYNC-NTSC on an NTSC Amiga.16:11
RobDangerousSuper cool, will spend the evening with this.16:11
mntmnok this time my one borked file starts having errors at 0xd000.16:12
mntmnexactly 0xd000-0x10fff16:13
_BnuGood, good...16:13
mntmnthat's the same content repeated from 0x9000.16:14
RobDangerousWhat do all those different card files mean? For different CPUs? What's DME?16:15
mntmn>>> hex(0xd000-0x9000)16:16
mntmn'0x4000'16:16
mntmnthat looks like the same 32*512 buffer is written again, i.e. not updated for the next set of writes.16:16
_BnuRobDangerous: "DMA" is typically the one you want, the numbers are just compiled for different processors.16:17
_BnuDME has the cache-tricking dummy read enabled, should only be used if you have issues with graphics corruption.16:17
RobDangerousAh, all right.16:18
mntmnlets flush those caches16:18
mntmndown the toilet16:18
_BnuWell, DMA is the one you want on Zorro III. Not on Zorro II...16:18
RobDangerousGoing Zorro 3, my 90s hardware is up to date.16:19
_BnuI realized I hadn't actually tested it with the file in Env-Archive... but now I have, and it does work...16:21
_BnuBut yeah, just create an empty file in Prefs:Env-Archive and name it ZZ9000-NS-VSYNC16:21
_BnuThen you have to reboot for it to end up in ENV:, I believe.16:22
RobDangerousAye aye16:22
mntmnhmm. how can this be so broken.16:24
_BnuI don't know... but I'll fry some locally produced hamburgers, maybe that'll fix it...16:26
mntmndo you want to relauch16:31
_BnuNo, no re-lunch for me... dinner time...16:35
mntmnok i might have fixed the problem and also sysinfo is ok now16:47
mntmnit says ~1 MB/s read test ;)16:48
mntmnbut that's with a bunch of debugging going on16:48
mntmnyeah it is fixed16:52
mntmn_Bnu: the solution was to add a MMU TLB entry STRONG_ORDERED for the 1MB page that contains the usb buffer.16:52
mntmnwe had the same for the ethernet buffer16:52
mntmnno explicit cache flushing needed then also16:53
mntmnwe might wanna make sure that the same is done for any param/scratch buffers for graphics commands.16:53
_BnuBut I have no MMU config at all. ('A`)16:55
_BnuWhich means that you may still have the USB stuff lock up at some unspecified point in time.16:56
_BnuI never had any trouble with reads or writes until it completely locked up.16:56
mntmnwhat do you mean you have no mmu config16:57
mntmni'm talking about ARM MMU16:57
mntmni.e. in ZZ9000OS16:57
mntmnit's about the correct data being in the buffer before sending it off to the usb drive...16:57
mntmnthat was not ensured before16:58
mntmnbecause we wrote it by FPGA->DDR and didn't tell the ARM about it16:58
mntmnso the ARM wrote stale cache contents to disk sometimes16:58
mntmnthere was a very similar problem in the past with ethernet. packets containing duplicate blocks16:59
mntmnso JPEGs were corrupted and stuff16:59
mntmn(long time ago)17:00
mntmni need a replacement for the cpu tool, to enable all those bursts. sysinfo showed me they make a lot of perf on 03017:00
_BnuOh.17:00
mntmnalso i want to move all that OS stuff to fastram... but i don't wanna use mutools i think (???)17:01
_BnuSetting the VRAM to be strongly ordered would probably completely murder performance, though. It should be keeping track of it with ACP, but I guess it doesn't, or something.17:02
mntmni'm not talking about the VRAM17:02
mntmnonly about the parameter area17:02
mntmni.e. were you poke your x y z values for commands17:02
_BnuAh, okay.17:02
mntmnwhere17:02
_BnuThe only problem I had with that was the command writes were getting lost, never any of the values.17:02
mntmnthat's probably some different problem (that i don't experience right now, but we will see)17:03
mntmndoes anyone know why setpatch is actually needed?17:07
mntmnso far it doesn't seem to matter at all that it is missing...17:07
_BnuSetPatch does things like load the updated scsi.device on WB 3.1.4 if you don't have WB 3.1.4 ROMs.17:10
_BnuIt also loads some of the Boing Bag patch stuff in 3.9/3.5.17:10
_BnuBasically if your Amiga reboots once on booting to Workbench, SetPatch does something.17:10
_BnuOtherwise there's nothing for it to do.17:10
mntmnhm.17:11
_BnuBut I think they come with their own SetPatch anyway, which may not be compatible with anything else.17:11
mntmni destroyed my shell...17:12
mntmni am missing the L directory in ZZombie.17:14
mntmnnobody noticed17:14
mntmnso you don't like L that much i guess...17:15
mntmnnice, RTG still works17:15
_BnuFor file systems mostly, I think.17:16
mntmnforgot how that tool for pushing around windows with the keyboard was called.17:17
mntmnWinZoom.17:18
_BnuWindows 10 for Amiga.17:19
_BnuAlso, Claude has taught me about the tiny Hitlers that German tourists bring along with them on their travels. The Reisenführer.17:20
_BnuHe is teaching me about German customs so I'll fit in better when I visit and don't get arrested instantly.17:21
_BnuFor instance I didn't know that it was illegal to eat Schinkensalat on Thursdays.17:24
mntmnhow offensive!!17:29
mntmni am sorry to say that my amiga system is stable now17:30
_BnuPoke around in it a bit with a screwdriver.17:36
mntmnhaha17:38
mntmn1280x720 is smol... https://pbs.twimg.com/media/E8HkIrvWQAMJeUs?format=png&name=4096x409617:40
mntmnenhancing to 1920x108017:43
_BnuYeah, I remember Nibbles/QB64 being even smoler, and I couldn't figure out how to scale it up, haha.17:43
_BnuI'm sure there's some keyboard shortcut I don't know...17:43
mntmncmd+F17:44
mntmnbut in this case, i want 1:1 pixelz17:44
mntmnwhatever happened to Scalos and where did that come from in the first place?17:47
mntmnlulz it is still around https://en.wikipedia.org/wiki/Scalos17:47
mntmn> Satanic Dreams Software Team17:48
mntmnnice, open source under BSD17:48
_BnuCmd+Hyper17:48
_BnuI seem to recall there being some problem with Scalos on 68k, though.17:50
mntmnamirc is the first thing that complains about missing setpatch. during install17:52
mntmncrazy how accetable that website looks https://twitter.com/mntmn/status/1423673811237543949?s=2017:54
_BnuWhy would an IRC client complain about SetPatch. ('A`)18:13
_BnuThat's weird though, are random parts of Scalos not open source, or what?18:14
+ mntamiga (~root@p54a43f94.dip0.t-ipconnect.de)18:19
mntamigaha!18:19
mntamigaextremely online18:19
mntamigatext entry into mui text fields is very slow for some reason18:19
_BnuWhy not, I say...18:22
mntamiga:318:23
_BnuAnd you're not running the firmware with the millions of debug messages on rect_pattern?18:23
mntamigaalso i needed to setup socket.library for amirc for some reason.18:23
mntamigano, text output is fine18:23
mntamigait really only MUI text fields.18:23
_BnuAh, weird. I wonder what it uses to draw text.18:23
mntamigatext entry i mean18:24
_BnuMaybe bobs, drawing them 600 times per second when you type text.18:24
mntamigathe log window with all your chat messages is fine18:24
mntamigajust typing is super delayed18:24
mntamigaand only in MUI18:24
mntamigahow can i check which p96 version this is...18:25
_BnuYou never can...18:27
mntamigadamn18:27
_BnuIf it's the one from Aminet, it's probably 2.0.18:27
mntamigai don't remember18:28
Jopeamigaaa18:28
_BnuBecause if it was 1.4, it would probably crash, lol.18:28
mntamigai will patch in the latest beta from thor18:28
_BnuYeah, that's what I'm running since I don't feel like paying for P96 again right now...18:28
mntamigartg.library 42.68118:29
_BnuBecause they of course released 3.10 just after my one year license ran out, lolb.18:29
_Bnu"Is _Bnu's P96 license about to run out?" "Yes." "Okay! Release a new version!"18:29
- mntamiga (QUIT: Quit: System rebooting) (~root@p54a43f94.dip0.t-ipconnect.de)18:31
_BnuSystem is rebooting.18:31
_BnuDownload AmiTetris for entertainment.18:32
Jopeall kinds of tetraminoes18:34
Jopeall finnish sceners played this http://www.nic.funet.fi/pub/amiga/games/tetris/Zetris-1.0.lha18:35
RobDangerousSame thing happened to me and I sent Jens a mail because I was confused and unaware that the license even runs out at all and he just offered me to sent me the latest version because it released only shortly after my license expired.18:35
_BnuThe first Tetris I ever played was the Game Boy one, so I really disliked all the computer variants, haha.18:36
RobDangerousBut I said noooo, take some money, I want you to have food on the table.18:36
Jope_Bnu, the gameboy one was a good one tho18:36
_BnuYes, but I really dislike the computer ones.18:37
Jope:-)18:37
RobDangerousAnd that's why Jens is now rich enough to buy a Game Boy Tetris cartridge on eBay.18:37
_BnuBecause they all had (to me) really fucked up controls in comparison.18:37
forcieis P96 a one year license now? last time i ordered it was valid for like 10 downloads18:37
_Bnu10 downloads/one year.18:37
_BnuWhichever comes first.18:37
forciei have only downloaded it once and i still have the archive here, lolz18:38
forciebetter wait for some major updates before i use up another precious download.18:38
_BnuWell, 3.10 is the latest major update as far as I know.18:39
_BnuAnd it's out now.18:39
_BnuHas the secondary palette thing on screen split, which AFAIK you can only use in WinUAE and on the ZZ9000?18:40
_BnuAlso fixes some other things and things.18:42
_Bnu* HIRES mouse pointers are now again available on Os 3.2 due to a new interface between RTG graphics and the intuition pointer class.18:44
_BnuLittle do they know that the ZZ9000 supports up to 48x48 256 color mouse pointers with their very own palette...18:45
mntmnhaha18:53
mntmnthis amiga stuff is making me mad...19:00
mntmnthe mount command from aros is subtly different so it cannot mount the DI2 file from diskimagecontrol.19:01
mntmngive me UnADF or give me death19:01
mntmni unadfd workbench2.1 extras to run Font prefs just once...19:09
mntmnand pressed save to generate the missing font.preffs19:09
mntmnfont.prefs19:09
mntmnthat fixes all the shitness of topaz 9 19:09
_BnuI always just use GoADF for ADF stuff... but that costs monies.19:17
_BnuWaiting for fat commands.19:19
_BnuMaybe we can make our own Workbench and call all the settings Prefferences.19:20
_BnuPfefferences.19:21
_BnuWokbench.19:23
_BnuIntuton.libary19:25
RobDangerousNew boot.bin messed up the rtg output a little: https://imgbox.com/W3LAeIcg19:26
_BnuUhh, did you make sure you install the .card file first?19:26
_BnuAnd/or what display mode is that?19:26
RobDangerousAh. Of course not.19:26
RobDangerous16 bit 1920x108019:27
_BnuAh yeah, while the driver with panning supports is backward compatible with the old boot.bin, the new boot.bin is not backward compatible with the drivers that don't have panning support.19:28
_BnuWhich is why the card driver should always be removed or replaced before switching to a new firmware.19:28
RobDangerousOkidoki, I can fix it!19:28
+ mntamiga (~root@p54a43f94.dip0.t-ipconnect.de)19:29
_BnuYou'll probably also have to reattach the P96 settings to the board using Picasso96Mode.19:33
mntmn_Bnu: what do i need to use 68060.library? is it possible with stock 3.1 rom?19:33
_BnuI had to change the chip/board type back to the old one because otherwise it completely broke Picasso96 2.0 support.19:33
mntmni mean what do i need to use 6806019:33
_BnuYou just need 68060.library, for emulation of missing opcodes, yeah.19:34
- mntamiga (QUIT: Ping timeout: 272 seconds) (~root@p54a43f94.dip0.t-ipconnect.de)19:35
_Bnumntamiga died. ('A`)19:35
mntmnok cool will try19:35
_BnuAt least that's all I ever do to get my CS MkII to work... copy 68060.library to LIBS:, haha.19:36
mntmnwho loads 68060.library?19:43
mntmnmaybe setpatch? ;)19:43
_BnuNot that I know of...19:45
mntmnthe warpengine does not work. at all.19:50
mntmnwith these 3.1 stock roms19:51
mntmnperhaps19:51
_BnuDoes it like not boot at all?19:51
_BnuIt should definitely boot and guru.19:51
mntmnnope just black screen19:52
mntmn(zz9000 not inserted)19:52
mntmnsad story19:53
_Bnu('A`)19:53
RobDangerousAh, reattach settings to the board, I wonder what I have to click for that. But kicking out all ZZ9000 modes also worked for fixing Workbench. Aaaand... https://imgbox.com/skv0hkYz19:54
_BnuKickstarts should definitely work, it's just Workbench itself that can't boot.19:54
RobDangerousThe stuttering is gone. That's why more important to me than RTG modes anyway :-) And even my TV agrees... it's FIXED.19:54
RobDangerous*way more important19:54
_BnuHahah, nice19:54
_BnuYeah, it will still repeat a single frame every few minutes or whatever 0.001.5Hz adds up to.19:55
mntmnok kickstart doesn't work. so something is wrong with the warpengine probably19:55
_BnuBut to me at least it's not noticeable at all compared to when it goes at 50+ Hz.19:56
RobDangerousFixing that also would of course be perfect. mntmn, will you add perfect framerate sync if I write a Warp3D driver for the ZZ9000 in return?19:56
RobDangerousBut the current fix is already super great and changes things from unplayable to perfectly fine for me personally.19:56
mntmn??19:57
RobDangerous!!19:57
mntmni will not19:57
mntmn_Bnu's fix must suffice19:57
mntmnalso i'm unhappy because no 060 for me19:57
RobDangerousAh, pity. Maybe I'll try my luck with some Warp3D anyway. Already did it a few centuries ago for WinUAE.19:57
mntmni will try the csmk1 that i should send back really soon now19:59
_BnuI'm sure "sync to sync" will be a consideration in the future technology for the theoretical MNTCX device.20:00
RobDangerousIf we first manage to make Mr mntmn happy again.20:01
mntmnhow do i need to set the 3 clock jumpers in a3000 for the cs mk120:01
mntmnthe manual only talks about the a400020:01
_BnuI don't know... I think my clock jumper is like under the CPU board for some stupid reason.20:01
_BnuSo I can't see what it's set to.20:01
mntmnthere are 3 clock jumpers20:01
mntmnon the a4000 only one i think20:02
_BnuAh, hm20:02
mntmni have brdclock, cpuclock and quadclock20:02
_BnuClaude might know, if he's around.20:02
mntmnoh!20:02
mntmnsomething is working.20:02
mntmnquad+brd to ext, cpu to int.20:02
_Bnu!!!20:03
_BnuIt wouldn't surprise me if there's some jumper in an Amiga that just has !!! silkscreened next to it.20:05
mntmnhaha20:05
mntmnautoboot did not crash...20:05
mntmnsetcpu immediately crashes20:05
mntmnhighly unstable20:06
mntmni guess my power supply is too weak for 68060s20:07
mntmnok dinner time20:07
_BnuRobDangerous: To reattach the modes to the board, you usually just open Picasso96Mode and go to the right mouse button menu and select Attach settings to board and then choosing the ZZ9000 menu item.20:09
RobDangerousThanks, I think I can manage to do that.20:11
_Bnuhttps://cdn.discordapp.com/attachments/870965415000539146/873267219767902278/unknown.png20:12
_BnuI am suddenly reminded that my ZZ9000 modes are wrong, and I'm missing 1280x720.20:12
mntmnand you have secret modez20:14
mntmnthat should go into the release as well20:14
_BnuTechnically the only secret mode I have is 1600x1200, haha.20:14
_BnuThe other ones don't work, they're from the CV64, I believe.20:14
_BnuOh, I do have the 30Hz 2560x1440 as well.20:14
Jope1600x1200 <320:20
Jopea fine mode if there ever was one20:20
Jopethe a3k's clock jumpers definitely deserve a webpage of their own.. correct settings for each board20:21
Jopesuper ambiguous20:21
RobDangerousTotally different topic - I'm having a look at the zz9000 sdk. Apparently ARM programs can access the framebuffer which is brilliant. But is there also a way to communicate with Amiga programs? Somehow via those event-something functions maybe?20:23
_BnuThe SDK is uhh... kind of in a state of functioning, maybe not functioning.20:23
RobDangerousHmm. Is there interest in pimping that? I'd like to make Quake run faster.20:24
_BnuYou'd be trying to run Quake bare metal on the ARM in that case, haha.20:25
RobDangerousI'd like to route Warp3D calls to the ARM.20:25
_BnuThere's already a graphics acceleration SDK of sorts.20:25
_BnuIt can be most readily observed in action in the ZZ9000 accelerated Frontier Intro.20:26
_BnuAnd of course the ZZ9000-accelerated build of ScummVM...20:26
RobDangerousOh, googling...20:26
mntmnyeah if you need textured triangles or something the best way would be to clean up and get this into the main graphics functions20:26
_BnuThey're both on github on my fork, builds arein snakes9000, haha.20:26
_BnuBy pure chance I was also already running ScumMVM and watching the Full Throttle intro again...20:27
_Bnuhttps://cdn.discordapp.com/attachments/870965415000539146/873271210270654484/2021-08-06_20-25-51.mp420:28
RobDangerousSeems familiar.20:28
_BnuThe standard build of ScummVM runs like absolute balls on anything worse than a Vampire, haha.20:29
_BnuHonestly, really looking forward to when I can abuse the ZZ9000 audio module for the AHI stuff.20:30
_BnuNo more throwing 68k CPU time at audio mixing or bad resampling.20:30
_BnuYou can almost play Curse of Monkey Island in ZZ9000 ScummVM, but the music is screwing it up big time.20:31
_BnuThe ScummVM build is in buld.zip, by the way.20:31
_BnuAnd the Frontier into is fintro-gcc.20:31
RobDangerousAha, found some code by some beeanyew.20:33
RobDangerousACC_OP_FILL_CIRCLE - ok, so more of those is the idea.20:33
_BnuYes. There is technically already a textured polygon thing, but only the flat polygons are hooked up.20:34
_BnuAnd the flat polygons need a tiny bug fix.20:34
_BnuWhich, I have the github link from mntmn open somewhere in my Firefox tab list...20:34
mntmnah i remember wot you mean20:34
mntmnwhy and where did i fix it again...20:34
mntmnah yeah20:34
mntmnmaze20:35
mntmnhttps://github.com/mntmn/maze/blob/main/draw.c#L5620:35
RobDangerousWhat are non-flat polygons?20:35
mntmnok, i will flash some keyboards and then wrap up all my changes so far, i think usb stuff is reasonably stable now20:36
mntmnbut couldn't really test with 060, i only saw that the partitions where in early startup.20:37
pasikmntmn: about 68060.library .. isn't it the updated 68040.library that loads it?20:38
pasikif 060 is detected20:38
mntmnoh?20:38
pasikwhich is why you need to install both the 68040.library and 68060.library20:38
mntmnbut who loads 68040.library then?20:38
_BnuNon-flat polygons would be polygons that have some sort of shading between colors and stuff.20:39
_BnuWhile flat ones are just a single color.20:39
RobDangerousAh!20:39
RobDangerousFlat shaded polygons.20:39
_BnuYeah, it was enough for the Frontier intro, basically.20:40
_BnuSince it's not based on the PC version, which has textures.20:40
_BnuThe main reason the Frontier intro ever drops below 60 FPS is also because it does its own polygon clipping in software on the 68k.20:41
_BnuIf it could be told to just send the full polygons to the ZZ9000, it'd be a lot faster.20:41
forciemntmn: exec.library loads 68040.library20:42
forcieif i remember correctly20:42
pasikor setpatch loads 68040.library ? 20:42
pasiki'm not totally sure how it works20:42
forciesetpatch probably reloads it, yeah20:42
pasikjope maybe can describe the magic20:42
_BnuI'm pretty sure you don't need 68040.library with Kick 3.1.20:43
_BnuBecause I do not have a "dummy" 68040 library installed.20:44
RobDangerousBut if it doesn't do the clipping it ignores the frontiers and then its name wouldn't fit anymore.20:45
pasik"older systems (such as 3.1) do not recognise the 68060 - instead they mistake it for a 68040 and so load 68040.library for it. When you actually use a 68060, you need the 68040.library as well as this acts as a wrapper, pointing the system at the correct 68060.library instead."20:47
pasikthat's what i've done with my blizzard 1260 with amigaos 3.1; install the dummy wrapper 68040.library and the actual 68060.library20:48
pasiknewer amigaos versions probably can load the 68060.library directly20:51
RobDangerousok, I think I kind of understand the process now. Add stuff to main.c and gfx.c in ZZ9000OS. Compile a new boot.bin. Call new stuff like the Frontier intro does. Play Quake with broken graphics. Repeat until graphics are not broken.20:51
mntmnyes20:52
mntmnbut at what point is it loaded? what triggers it?20:53
mntmn(680x0.library)20:53
pasikI bet jope knows the answer..20:54
_BnuSo maybe the CS MkII boot ROM loads 68060.library for me?20:59
_BnuThat would be nice of it.20:59
_BnuRobDangerous: Kind of. At least building a new boot.bin only takes a few seconds.21:00
RobDangerousAll right. I'll play around with that a bit. There will be more questions.21:01
_BnuThere are a lot of applications and games that could be accelerated using it, problem is that many of them are close to impossible to build for me.21:04
_BnuEither because they need Docker (I can't use Docker, because it requires Hyper-V to be enabled on Windows for any kind of performance) or because they only build with some combination of ancent GCC and some assembler that I can't set up the environment for to save my life.21:05
RobDangerousWell, just accelerate Warp3D and that automatically accelerates... like... five games or something.21:07
_BnuYes, I also considered SDL, but that's also magically impossible to build for AmigaOS 3.21:08
RobDangerousAnd it slows down Payback because that's the game with the most draw-calls I've ever seen.21:08
_BnuBut yeah if you had the source code for a game with clearly defined drawing calls and stuff, you could just add optional ZZ9000 acceleration calls like I did with ScummVM.21:09
mntmnok i will now check in some code21:09
_BnuAnd speed it up infinitely, because Zorro is in no way suitable for use with transferring frame buffers repeatedly.21:09
_BnuDamn, not code...21:10
RobDangerousNice nice.21:10
- TadeusTaD (QUIT: Quit: Stay Cheeki Breeki) (tadeustad@psifactor.pl)21:11
_BnuI also added some tiny similar stuff to DoomAttack for the PiStorm, like I did for the ZZ9000, so now it actually runs acceptable on the emulated 68030, haha.21:11
RobDangerousAh, Doom, I heard about that.21:16
_BnuACTION refreshes the zz9000 drivers and firmware repos all day21:20
mntmn_Bnu: i merged and pushed to firmware21:42
mntmn_Bnu: i will now update driverz21:42
_BnuACTION downloads the commits over and over21:44
_BnuDDoSing git gitlab...21:47
_BnuAnd then gitlab was angry because I logged in from the same IP as last time, but the IP geolocation had changed, lol.21:48
mntmn_Bnu: pushed to gcc-test branch21:52
mntmni *think* i pushed all the things 21:52
mntmni should maybe do a quick test of the complete package...21:53
mntmnyeah i have to push the firmware again21:53
mntmnbecause of rebuilt zzusb.device21:53
- RobDangerous (QUIT: Ping timeout: 256 seconds) (~Thunderbi@p200300ec8f3e1c002d0ccd643d9ce569.dip0.t-ipconnect.de)21:55
mntmnpushed21:56
+ RobDangerous (~Thunderbi@p200300ec8f3e1c002d0ccd643d9ce569.dip0.t-ipconnect.de)21:58
_BnuPush, push, push, pull...22:00
_BnuIt's just like air cooling.22:00
_BnuAnd yeah, sorry, I can't properly set the flags for bash scripts on Windows, haha.22:00
mntmnhaha no problem22:03
_BnuAnd MSYS2 of course completely ignores it and just runs the bash script even if it isn't executable...22:03
mntmnbut i revenged and put this copy command in the zzusb.device build script that only works on my system...22:03
_BnuI will port it to M1 Mac...22:03
_BnuOr maybe G4 Mac Mini.22:04
mntmni will push one more time soon...22:06
mntmnbecause i made a bug in the zzusb.device debughex/str functions22:07
mntmnbtw don't forget to remove your old ZZUSBStorage.device if you have it on the amiga22:07
_BnuBut I love my old ZZ9000USBStorage.device...22:08
mntmnit has to go!22:08
_BnuMaybe I can rename it to 20mips.device22:08
_BnuWhy do I have a file called "MEPPO" in DEVS:22:09
mntmn:O22:09
mntmni pushed again to both repos22:09
mntmnand testing now.22:09
_BnuWhere is my stupid USB stick...22:11
_BnuOh, on the floor. Of course.22:12
mntmndo i need to set up special things for the split palette to work?22:13
_BnuNo, just the driver with the flag set.22:14
_BnuAnd the latest P96 beta thing you sent to me.22:14
_BnuWell, the latest driver with the flag set and the set_feature write...22:15
_BnuOtherwise it won't be enabled, for backwards compatibility reasons.22:15
_BnuSorry about that, many RTG updat today.22:17
_BnuWell, just two...22:17
_BnuBut many compared to zero...22:17
mntmnhmm it's like split screen is not there at all for me22:17
mntmnlike, i drag on a screen and stuff freezes for a moment but there is always one screen shown, no split22:17
_Bnu? ('A`)22:18
_BnuIt worked earlier at least...22:18
mntmnmaybe it's just borked for me22:18
mntmni couldn't test it so far at all on this new setup22:18
mntmnhard to say if i have the correct rtg.library22:18
mntmnapparently it came in p96.zip...22:19
mntmnhmm but the mouse behaves as if the screen was moved22:20
mntmni will debug the setting of the split22:22
_BnuI have a feeling your boot ROM might be doing something naughty to the list of DosNodes or something...22:22
mntmni hope not?22:24
mntmnit should just AddBootNode22:24
mntmnthat happens in zzusb.device22:24
_BnuHm.22:24
_BnuBoth the palette and the split works fine here.22:24
mntmnoh!22:24
mntmnwhat did i mess up22:24
_BnuMaybe you forgot the other P96 zip with the actual installer?22:25
_BnuThere was some zip file later that just had the header file and rtg.library.22:25
_BnuBut the original one came in an LHA file.22:25
mntmnis p96 more than the rtg.library?22:26
_BnuI think so...22:26
mntmnok it's maybe borked on the amiga side, split position is never written22:26
mntmnwhat else is p96?22:26
mntmnafaik it is only rtg.library22:26
_BnuWell, maybe. Not sure.22:27
_BnuBut the only reason the split position wouldn't be written is either because:22:27
_BnuA) You're using an old .card file.22:27
_BnuB) You're using an old P96 that doesn't actually call that function.22:27
mntmnyeah.22:27
mntmni agree22:27
mntmnor C) my system is fuxxed beyond recognition22:28
_Bnuhttps://cdn.discordapp.com/attachments/870965415000539146/873301439974367282/unknown.png22:28
_BnuNot proper resolution, but the secondary palette is definitely kicking in.22:28
_BnuElse PPaint would have borked colors.22:28
mntmnnice!!22:28
mntmnextremely odd.22:29
_BnuBut yeah, with your changes compiled into the firmware I don't actually get any DosNodes from the FastATA 4000, haha.22:30
mntmnthis p96 is def. trying to handle the split but it does not write the split. the front/back screen changes if i drag the screen all the way up or not22:30
_BnuDoes your boot ROM get angry if there's no Amiga partition on the USB stick?22:30
mntmn_Bnu: maybe only one autoboot thing is used?22:30
_BnuNot typically, no.22:30
mntmnhm22:30
_BnuI can have both IDE and FastATA, and several boot ROMs is nothing too uncommon.22:30
mntmnok22:31
mntmnyou can turn off the bootrom stuff with 1 flag in the top of mntzorro.v22:31
_BnuI refuse... disabling features is for noobs...22:31
mntmnok22:31
_BnuLet's see here.22:32
mntmnmy rtg.library hash is 932af260380d48907143073de861a8cf. both on the amiga and in that weird zip i got.22:32
mntmn-rw------- 1 mntmn mntmn 123336 Aug  5 22:25 p96.zip22:32
_BnuI can't actually tell if you're returning 1 at the end of DiagEntry, because I can't follow the code... sorry, I'm really, really bad at reading 68k assembler, haha.22:32
_BnuBut if you don't return 1 at the end of DiagEntry, Kickstart will abort everything from that point.22:33
mntmnah!22:33
mntmnthe 1 should go into d0, and i think i just leave the result from whatever the last call was in there22:33
mntmn  jsr -102(a6) // InitResident22:34
mntmn  // return code in d022:34
mntmn  rts22:34
mntmnso i leave the result of InitResident in there22:34
mntmn    object  - Return value from the init code, usually the library22:34
mntmn              or device base.  NULL for failure.22:34
mntmnah so that is the return value from zzusb.device's init function then22:35
mntmnthat returns the configdev for some reason...22:35
mntmn_Bnu: i can put a return of 1 in the rom22:36
_BnuYeah, I remember having to add it to the PiSCSI boot ROM for it to work properly when there were other PICs in line after it.22:37
mntmn_Bnu: pushed new bootrom.h to firmware. you need to refresh that file in the sdk so eclipse picks it up.22:37
_Bnubootorm.h...22:38
_BnuOrm is Swedish for snake...22:38
mntmnBootStorm22:38
mntmn:D22:38
mntmnso it is PistOrm22:38
mntmnnot PiStorm22:38
- RobDangerous (QUIT: Ping timeout: 268 seconds) (~Thunderbi@p200300ec8f3e1c002d0ccd643d9ce569.dip0.t-ipconnect.de)22:42
_BnuWell, it's definitely doing something else now... I wonder where the butts I put my UART kabul.22:43
_BnuI "cleaned up" the stuff on the table recently and probably put it somewhere nearby.22:43
pasikto an obvious place where you find it easily and quickly..22:43
_BnuYes.22:45
_BnuNext to the 5.25" floppy box, of course!22:47
mntmnok so my rtg.library or monitor file is broked22:47
mntmnthe driver never pokes the split pos22:47
mntmnbut i can poke it by hand22:47
mntmnif i poke to 0x5e22:47
mntmn_Bnu: you built ZZ9000.card from the same code that i have yes?22:48
_BnuYeah.22:49
mntmnach scheisse22:49
_BnuDid you accidentally run build.sh...22:49
mntmni made useless changes in the old mntgfx.c but this should be whatever22:51
mntmnbecause i built the other one...22:51
_BnuRDB not found...! Which isn't unexpected, but then it just sits there... :D22:52
mntmnhaha22:52
mntmnoops22:52
mntmnit should not sit, just abort...22:53
_BnuYeah, no more output after that.22:53
_BnuNot sure if there should be.22:53
mntmnno, no more output required22:53
mntmncomputer hangs then?22:54
_BnuYeah.22:54
_BnuWithout the return 1, it instantly skipped everything and dumped me to the Kickstart screen with only DF0.22:54
mntmndid you try a reset?22:55
_BnuYeah, a bunch, gets stuck in the same place.22:59
mntmnbtw little bug: split_position is not reset with handle_amiga_reset.22:59
_BnuAh yeah, I forgot about that.23:00
mntmni just put it in23:01
_BnuAlso, I see you're only saving a few registers, not sure if that matters though.23:01
mntmnhmhm23:01
mntmncould matter23:02
mntmncan the zzusb.device work if 68060.library is not loaded? maybe it has 68060-incompatible code?23:02
mntmnhmm but i had partitions added briefly on 68060.23:02
mntmnso it seemed to work23:02
_BnuActually, your DiagEntry is not the same as mine, so maybe it shouldn't return 1. I'm really not sure.23:04
mntmn;_;23:04
_BnuLike, I don't do the InitResident in DiagEntry at all, DiagEntry is just the reloc in the PiSCSI boot ROM.23:05
mntmnwhere do you do the initresident then?23:05
_BnuIn InitEntry.23:05
mntmnwhat's that?23:05
mntmnmaybe something i don't have23:05
_BnuTo quote the example boot ROM . . .23:05
mntmni have only DiagEntry and BootEntry23:05
mntmnor, DiagPt and BootPt23:06
_Bnu"Beginning of ROM driver code and data that is accessed only in the ROM space.  This must all be position-independent."23:06
_BnuBut yeah, really sorry about that. I honestly don't know how the boot ROMs work outside of modifying the example boot ROM to run the code I want to run...23:07
_Bnuhttps://github.com/beeanyew/pistorm/blob/wip-crap/platforms/amiga/piscsi/device_driver_amiga/bootrom.s#L25123:08
mntmnok, i will look at this again on sunday or so23:09
mntmnwtf just happened...23:09
_BnuBut on Sunday we have to go to church...23:09
mntmnah i know wtf just happened23:09
_BnuIt's 11:11 PM...23:11
_BnuACTION beeps and begins to explode23:12
mntmnsome kind of insane shit is going on...23:12
mntmnok so the driver goes into SetSplitPosition23:14
mntmni put a debug thing in there, like   *((uint16_t*)0x400000f2) = pos;23:14
_BnuI'll disable the small autoboot for now and re-enable it in church on Sunday or whenever you get a chance to take a look at it.23:14
mntmnand i get positions over uart!23:14
mntmn_Bnu: yep23:14
mntmnbut... the driver does not write to register 0x5e23:15
_BnuAre you using the non-DMA driver or something? It's entirely possible that I haven't tested that.23:15
mntmnyes, non-DMA23:15
_BnuYeah in that case the non-DMA code is probably the problem.23:16
mntmn;_;23:16
mntmnbut!23:16
mntmnthe code says:23:16
mntmnzzwrite32(&registers->blitter_src_hi, offset);23:16
mntmnzzwrite16(&registers->blitter_set_split_pos, pos);23:16
mntmnand i think blitter_set_split_pos should be 0x5e23:16
_BnuYeah, looks like it based on the list.23:17
mntmni will replace it with zzwrite16(0x4000005e, pos); for the lulz23:17
_BnuOh no, I know what it is, lol.23:17
mntmntell!23:18
_BnuMNTZZ9KRegs* registers = (MNTZZ9KRegs*)b->RegisterBase;23:18
_BnuAdd that after #else23:18
mntmnok? :D23:18
_BnuYeah, it'll work, haha.23:18
_BnuI did a fail, you see.23:19
_BnuThere's a global "registers" that's only supposed to be there if DMARTG is defined.23:19
mntmnoop23:19
mntmnok23:19
_BnuBut I forgot to delete it, so it's always there.23:19
_BnuI'll push a fax.23:19
_BnuFax poshed.23:20
mntmn:O23:20
mntmnyes, it works, goddamit!!!23:21
mntmnthis split stuff is very slow on my computer though.23:22
mntmnlike, dragging on the screen bar always makes the computer think very hard23:22
mntmnand it pauses for like half a second23:22
mntmnas if it is copying big buffers back and forth in the background...23:23
mntmnmaybe screen dragging can only be fast on 6806023:23
mntmnthe mouse pointer offset of the front screen is also off23:23
mntmnthe back screen's is correct23:24
mntmnah, it's not always off.23:24
_BnuYeah, it depends on the resolution.23:25
mntmnwhich part? the speed?23:25
mntmnor the offness?23:25
_BnuThat too.23:25
_BnuBut the mouse pointer as well.23:25
_BnuAt 320x240 it's spot on, at 640x480 it's one pixel off. Possibly because 640x480 is 59.4Hz or something.23:26
_BnuBut I haven't messed with the refresh rates for the other modes at all.23:26
mntmnah no for me its like up to 8 or more pixels off23:26
mntmnand in both directions23:26
_BnuUhhh23:26
mntmnalso it is fantastically slow23:26
mntmnalso in low resolutions23:26
_BnuThat's very strange, it definitely shouldn't be.23:27
mntmnbut it might be my illegal workbench setup23:27
mntmnlike, fastiprefs and so on23:27
_BnuAnd it's not puking out debug info or something?23:27
mntmnamiga?23:27
mntmnah, i don't have an amiga serial debug cable23:27
mntmnat the moment23:27
mntmnattached23:27
_BnuIf the Amiga does, it would be very slow.23:27
mntmnnaja it is extremely slow23:27
_BnuIt would probably also be slow if the ZZ9000 did it.23:27
mntmnno, i mean it is REALLY slow23:27
mntmnlike 1fps slow23:28
_BnuYeah, it might be Amiga serial debug output.23:28
_BnuWhich defaults to 9600 bps or something.23:28
mntmnso maybe thor's version just has a lot of debug stuff in there?23:28
_BnuI'm using Thor's version, though...23:28
_BnuSo most likely something else.23:28
mntmn>:||||23:28
_BnuMaybe an AROS library?23:28
mntmncould be23:28
mntmnVerbotenOS23:28
_BnuHard to say without being able to see the Amiga serial output, which I can only see on the PiStorm anyway, haha.23:29
_BnuI don't have any cable suitable to hook up Amiga serial to my PC.23:29
mntmnyeah i have a amiga serial to usb cable contraption but that is for another day23:29
_BnuI forgot to click Generate Bipstream...23:29
_Bnu"Why is it still not working... oh."23:29
mntmni will try the iprefs from wb2.123:30
mntmnsomething is wrong anyway that is hiding my menu bar all the time23:30
mntmnyeah, fastiprefs is at fault23:31
mntmnthe original commodore iprefs doesn't kill my menu bar23:31
mntmnbut that's not the reason for slow screen dragging.23:32
_BnuThe menu bar is satan, after all...23:33
mntmnschnicasso schneinty schnix23:33
_BnuBut yeah, it seems like it's not calling BlitRect for some reason. AROS library feels like a likely culprit. Or some missing Intuition stuff.23:34
_BnuSince AROS loves to redraw everything pixel by pixel...23:34
- xet7 (QUIT: Read error: Connection reset by peer) (~xet7@user/xet7)23:34
mntmnhmm no i am not using AROS rom.23:34
mntmni am using Kickstart 3.123:34
+ xet7 (~xet7@user/xet7)23:34
mntmnand i have no libraries that interfere with rom things23:35
mntmnmaybe it's because i don't run setpatch23:35
_BnuIs Intuition in ROM... maybe it is...23:35
mntmnor it's just slow on 68030/2523:35
mntmn_Bnu: intuition is totally in rom23:35
_BnuUntuition.23:36
mntmnearly startup uses it23:36
mntmnand boot with no startup sequence...23:36
mntmnalso the whole workbench is in ROM23:36
mntmnLoadWB is really only 1 rom call to open it23:36
mntmnexcept if you have 3.1.x+ that uses workbench.library outside of rom.23:37
mntmnexec, dos, graphics, intuition, workbench, all in R O M :O23:39
_BnuI am Workbench...23:40
_BnuMaybe you can run that Sashimi thing and check if there's serial output?23:41
mntmnthat's a good idea!23:41
_BnuFish to the rescue...23:42
_BnuI still don't understand why the Xilinx SDK deletes the path to the .bif file after the first time you build the boot image, haha.23:45
_BnuAnd yeah, disabling the bot orm makes the FastATA boot again.23:46
mntmn:o23:47
mntmnso it's not debug output.23:47
mntmnsashimi shows nothing23:47
mntmnok i will make feierabend23:47
_Bnu('A`)23:47
mntmni need to bring the dog to my home...23:47
_BnuFreitagsmann.23:47
mntmnnaja we are on the way to a release... just some more testing and fixing23:47
_BnuI'll push the split_pos fix to the firmware as well(s).23:48
mntmnthe firmware needs a fix for it? :323:50
_BnuYeah, it needs to be set to 0 in handle_amyga_recet.23:51
_BnuYou said that . . .23:51

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!