mntmn | _Bnu: ok cool | 00:06 |
---|---|---|
mntmn | tomorrow i will tackle that | 00:06 |
mntmn | i see Claude is stepping on the jit gas pedal | 00:06 |
- S0rin (QUIT: Ping timeout: 255 seconds) (~S0rin@user/s0rin) | 00:13 | |
+ S0rin (~S0rin@user/s0rin) | 00:14 | |
- RobDangerous (QUIT: Ping timeout: 272 seconds) (~Thunderbi@p200300ec8f3e1c00e588fff41585aac2.dip0.t-ipconnect.de) | 00:39 | |
_Bnu | Yeah, un/fortunately it seems like a project I can't get involved in too much so far, but I'll do what I can to help out, haha. | 00:40 |
_Bnu | If it ends up being something I can't have any fun messing around with, I'll just keep poking around at my little Musashi remnants and play James Pond II until I die... | 00:42 |
_Bnu | That way, maybe one day I'll actually manage to beat the game... | 00:43 |
mntmn | i have a feeling you will end up having both engines around, because jit may run into strange corner cases | 00:48 |
mntmn | for example, relocations are partly self modifying code... i wonder if the jit can track all of that | 00:49 |
- emiespo[m] (QUIT: Remote host closed the connection) (~emiespoma@2001:470:69fc:105::92a) | 02:32 | |
- js (QUIT: Read error: Connection reset by peer) (~js@2001:470:69fc:105::232) | 02:32 | |
- apolkosnik[m] (QUIT: Read error: Connection reset by peer) (~apolkosni@2001:470:69fc:105::ff7) | 02:32 | |
+ js (~js@2001:470:69fc:105::232) | 02:33 | |
+ emiespo[m] (~emiespoma@2001:470:69fc:105::92a) | 02:35 | |
+ apolkosnik[m] (~apolkosni@2001:470:69fc:105::ff7) | 02:35 | |
- _Bnu (QUIT: Read error: Connection reset by peer) (~beeanyew@89-160-120-72.cust.bredband2.com) | 03:24 | |
- xet7 (QUIT: Ping timeout: 258 seconds) (~xet7@user/xet7) | 04:28 | |
+ xet7 (~xet7@user/xet7) | 04:39 | |
- TadeusTaD (QUIT: *.net *.split) (tadeustad@psifactor.pl) | 07:06 | |
- Claude (QUIT: *.net *.split) (sid304814@2001:67c:2f08:4::4:a6ae) | 07:06 | |
- BluRaf (QUIT: *.net *.split) (bluraf@junkcc.net) | 07:06 | |
+ Claude_ (sid304814@id-304814.tooting.irccloud.com) | 07:06 | |
+ TadeusTaD (tadeustad@psifactor.pl) | 07:06 | |
+ BluRaf (bluraf@junkcc.net) | 07:06 | |
+ _Bnu (~beeanyew@89-160-120-72.cust.bredband2.com) | 07:33 | |
_Bnu | Oh, I assume it can somehow, since UAE can run most games and software using JIT. | 07:34 |
_Bnu | (But I know nothing about how JIT emulation works in practice.) | 07:35 |
* Claude_ -> Claude | 07:59 | |
+ RobDangerous (~Thunderbi@p200300ec8f3e1c00a4ebaf4c7a7fe26d.dip0.t-ipconnect.de) | 09:09 | |
mntmn | ok interesting | 09:42 |
- bfarmilo (QUIT: Remote host closed the connection) (~bfarmilo@202.56.40.240) | 10:48 | |
+ bfarmilo (~bfarmilo@202.56.40.240) | 10:48 | |
Jope | cool progress on the driver | 11:06 |
+ isoriano (~isoriano@5.147.209.166) | 12:30 | |
+ isoriano_ (~isoriano@5.147.209.166) | 12:30 | |
isoriano_ | Guten Tag ... | 12:30 |
isoriano_ | Sorry, one question is there any chance of a "free" conversion from Allegro to Kicad? | 12:35 |
mntmn | not that i know of | 12:46 |
mntmn | i know of converters from eagle and altium | 12:46 |
isoriano_ | Myir provides Allegro schematics/footprints .. oh Mann . | 12:47 |
- xet7 (QUIT: Remote host closed the connection) (~xet7@user/xet7) | 12:47 | |
+ xet7 (~xet7@user/xet7) | 12:48 | |
- xet7 (QUIT: Remote host closed the connection) (~xet7@user/xet7) | 12:48 | |
mntmn | isoriano_: why do you need premade footprints? | 12:50 |
- isoriano_ (QUIT: Quit: Leaving) (~isoriano@5.147.209.166) | 12:57 | |
- isoriano (QUIT: Quit: Leaving) (~isoriano@5.147.209.166) | 12:57 | |
+ xet7 (~xet7@user/xet7) | 13:09 | |
- xet7 (QUIT: Remote host closed the connection) (~xet7@user/xet7) | 13:10 | |
+ xet7 (~xet7@user/xet7) | 13:50 | |
_Bnu | Fuzzy technology. | 14:06 |
Jope | warm + fuzzy | 14:10 |
norly | mntmn: regarding the JIT and tracking all kinds of self modifying code. i believe that tracking that is the very point of a JIT - just in time. it should work fine :) whether it's fast is a different story ofc | 14:27 |
_Bnu | Unlike JIST, which is Just In Smol Time. It only works for a short while. | 14:47 |
_Bnu | There's of course also ZJIT, or Zero JIT, which is what the PiStorm currently uses... | 15:32 |
mntmn | ZISC | 15:33 |
mntmn | a computer that does not take any instructions | 15:33 |
mntmn | it just does what it wants | 15:33 |
Jope | cat computer ^_^ | 15:36 |
mntmn | haha yeah | 15:38 |
mntmn | hmm i'm looking at the clock, it might be amiga time | 15:38 |
_Bnu | It is obviously hamburger time... | 16:35 |
mntmn | unfortunately i have already eaten | 16:47 |
mntmn | where was i? partitions! | 16:48 |
mntmn | _Bnu: i can show you lolcode | 16:50 |
mntmn | debugstr(regs, "\r\nCylinders:\t"); | 16:50 |
mntmn | debughex(regs, rdb->rdb_Cylinders); | 16:50 |
mntmn | debugstr(regs, "\r\nHeads:\t"); | 16:50 |
mntmn | debughex(regs, rdb->rdb_Cylinders); | 16:50 |
mntmn | debugstr(regs, "\r\nSectors:\t"); | 16:50 |
mntmn | debughex(regs, rdb->rdb_Cylinders); | 16:50 |
mntmn | that's why the numbers where all the same... | 16:50 |
_Bnu | Smol numbars. | 16:53 |
apolkosnik[m] | Copy and smol pasta | 16:56 |
mntmn | this is what happened | 17:05 |
mntmn | ohhh pb_DriveName is a pascal string yes? | 17:06 |
mntmn | i was looking at this for a smol moment: | 17:07 |
mntmn | tmp = pb->pb_DriveName[0]; | 17:07 |
mntmn | pb->pb_DriveName[tmp + 1] = 0x00; | 17:07 |
mntmn | _Bnu: out of curiosity, why do you have to resolve DriveName conflicts? | 17:12 |
mntmn | PartitionList: 0001 | 17:19 |
mntmn | Block: 0001 | 17:19 |
mntmn | 0000 ZZ0 | 17:19 |
mntmn | dd75 0007 | 17:19 |
mntmn | 0001 0000 | 17:19 |
mntmn | No more partitions. | 17:19 |
mntmn | looks good :3 | 17:19 |
_Bnu | Because otherwise only one of the drives show up. | 17:28 |
_Bnu | I was reluctant to do it initially, because people should just name their partitions properly, etc., but then everyone kept complaining until I did it. | 17:28 |
_Bnu | It's a BSTR or whatever. | 17:28 |
_Bnu | So it starts with a byte that's the length of the string, and then it's followed by the string. | 17:29 |
_Bnu | So not necessarily null terminated. | 17:29 |
mntmn | ok, thanks for explaining! | 17:30 |
mntmn | i will leave the renaming out and will tell people to name their partitions properly ;) | 17:30 |
mntmn | this saves precious bootrom bytes | 17:30 |
mntmn | now i need to figure out how to fill in my DosParmPkt from rdb + partition info... | 17:31 |
_Bnu | I think it's mostly in the partition block, unless I'm misremembering... | 17:31 |
_Bnu | You just have to copy it and fill in the blobalVec and fsHandler thing. | 17:32 |
_Bnu | Blobal... | 17:32 |
mntmn | super blobal mega hyper net | 17:32 |
mntmn | the partition block has all these Reserved fields and a few flags, and... pb_Environment[20]; | 17:33 |
_Bnu | Blobal...! | 17:35 |
mntmn | yeah the stuff is in the pb_Environment | 17:39 |
mntmn | according to http://amigadev.elowar.com/read/ADCD_2.1/Libraries_Manual_guide/node0422.html | 17:39 |
_Bnu | They should rename the site to blobowar. | 17:46 |
mntmn | Block: 00000001 | 17:54 |
mntmn | 00000000 ZZ0 | 17:54 |
mntmn | e714dd75 00000007 | 17:54 |
mntmn | 00000001 00000000 | 17:54 |
mntmn | DeviceNode: 07800380 | 17:54 |
mntmn | AddBootNode done. | 17:54 |
mntmn | No more partitions. | 17:54 |
mntmn | _Bnu: i agree | 17:54 |
mntmn | lol i did not pass anything to AddBootNode, only zeroes. | 17:54 |
mntmn | that's why nothing shows up... | 17:54 |
_Bnu | AddBootNode is a noob if it can't even find the data... | 17:55 |
_Bnu | AddBootNoob | 17:56 |
mntmn | haha | 17:58 |
mntmn | ZZ0 is there | 17:58 |
mntmn | nice. | 17:58 |
mntmn | it does not show up on workbench as some kind of unformatted thing though | 17:59 |
mntmn | hdinsttools format says: Format failed: object not found | 18:00 |
mntmn | hm mh. | 18:01 |
mntmn | cli format says: object is not of required type. | 18:02 |
_Bnu | Did you set the GlobalVec to -1? And is it DOS/1? | 18:04 |
mntmn | i dit not set the blobalvec! | 18:04 |
mntmn | it might be dos/0 | 18:04 |
_Bnu | You have to do that, otherwise it's angry and thinks you have a BCPL-compliant GlobalVec. | 18:04 |
mntmn | oop | 18:04 |
mntmn | in scouts MOUNTED DEVICES list, the ZZ0: has no heads, cylinders, state or filesystem. | 18:05 |
_Bnu | Unless you're monitoring the IOReq calls, it's hard to say why. | 18:05 |
_Bnu | But IIRC, the ZZ9000USBStorage.device did not support TD_GETGEOMETRY? Or maybe it did. | 18:06 |
_Bnu | Some things use the SCSI sense command and other things use TD_GETGEOMETRY. | 18:06 |
_Bnu | But if it didn't construct a globalvec for you, everything will be wrong anyway. | 18:06 |
_Bnu | So don't try to do anything with it if it's set to 0. | 18:06 |
mntmn | wait, fhb_GlobalVec is something in the FileSysHeaderBlock but i'm not using that | 18:07 |
mntmn | i am not messing with any filesystems | 18:08 |
mntmn | i'm only using MakeDosNode() and AddBootNode() | 18:08 |
_Bnu | Uhhh, no. | 18:08 |
_Bnu | It's in the DeviceNode. | 18:08 |
mntmn | NeviceDode | 18:09 |
mntmn | lets see | 18:09 |
mntmn | ah, that's the thing coming out of the MakeDosNode | 18:09 |
mntmn | so i should overwrite what's in there with -1? | 18:09 |
_Bnu | Yes. Otherwise it won't work. Unless you make a BCPL-compliant GlobalVec for the partition and point it at that. | 18:10 |
_Bnu | Also, if you do do some file system stuff, keep in mind that dn_SegList is a BPTR. | 18:10 |
_Bnu | So it's in longwords, not a standard APTR offset. | 18:10 |
mntmn | it's interesting because i did not have to do that in my old assembler code stuffs | 18:11 |
mntmn | but i will try | 18:11 |
_Bnu | Well, no idea. I definitely had to set it to -1 for anything to work. | 18:11 |
mntmn | lets debork this | 18:13 |
mntmn | ok according to my debugging, GlobalVec defaults to 0 indeed | 18:16 |
mntmn | ah the filesystem type is ffs inter | 18:18 |
mntmn | DOS3 | 18:18 |
_Bnu | Yeah, it always does. But that's because you're supposed to fill it in yourself. | 18:19 |
_Bnu | Along with the segList. | 18:19 |
mntmn | trying to change to DOS1... | 18:22 |
mntmn | nope. big sads | 18:22 |
mntmn | need some tool to dump the DeviceNode or whatever in amigados... | 18:24 |
_Bnu | If you set the segList to 0, it'll try to use DOS/1 on Kick 2.0 and 3.1. | 18:25 |
_Bnu | But if your DOS/3 partition has some weird settings or is too large for DOS/1 to handle it... | 18:25 |
_Bnu | DOS/1 has no Direct SCSI or TD64 stuff in the file system driver that I know of at least. | 18:25 |
mntmn | i did not implement any td64 stuffs etc | 18:26 |
mntmn | info zz0: gives object is not of required type | 18:26 |
_Bnu | Good... | 18:31 |
_Bnu | I've never seen that error, unfortunately. | 18:31 |
mntmn | ;_; | 18:32 |
_Bnu | But yeah, as you can see all I do to the DeviceNode is set the globalvec and seglist... | 18:34 |
mntmn | i found 1 bug and hope that's it | 18:47 |
mntmn | i had unit number 1 in the parmpkt | 18:47 |
mntmn | instead of 0 | 18:47 |
mntmn | yep now ZZ0 shows up in "info" as not a dos disk | 18:49 |
mntmn | and now it's also an icon on WB! | 18:50 |
_Bnu | Quick, destroy it... | 18:53 |
mntmn | :333 already formatted! | 18:54 |
mntmn | now i need to put in that weird BootPt fragment to be able to boot it i guess | 18:54 |
_Bnu | If you've done AddBootNode and the priority isn't set to like -255 or something, it should boot. Easiest is to just check early startup. | 18:56 |
_Bnu | You can spot if some values are off on that screen as well. | 18:56 |
_Bnu | AddBootNode is like AddDosNode and Enqueue in one, I just split it up in hopes of getting it to work on Kickstart 1.3... which it didn't, because there's something something whatever about the file systems on there... | 19:03 |
mntmn | ok, it boots now, i needed to put in that dos init BootPt in the rom. | 19:26 |
mntmn | without it, it won't boot. | 19:26 |
_Bnu | Ah, yeah no idea about that one. I just left that in there from the example boot ROM. | 19:28 |
mntmn | this little thing" | 19:28 |
mntmn | https://source.mnt.re/amiga/zz9000-drivers/-/blob/gcc-test/usb-storage/boot-rom/boot.S#L5 | 19:28 |
mntmn | yep, i wanted to see what it does. so the answer is, it makes your drive boot. | 19:28 |
_Bnu | That's why the debug message says "Arrived at BootEntry, for some reason.", haha. | 19:28 |
mntmn | hehe | 19:29 |
mntmn | in before network boot... | 19:29 |
mntmn | naja, great stuff. next steps might be TD64 and whatnot | 19:30 |
_Bnu | Don't forget to somehow add optical drive support, because it's really easy I promise, definitely not being sarcastic or implying that it needs a completely different file system driver or command set support... | 19:35 |
mntmn | lulz!! | 19:36 |
mntmn | what about usb floppy though... | 19:36 |
mntmn | btw that's probably because of ATAPI or something yeah? | 19:37 |
mntmn | what about USB SCSI optical drives... | 19:37 |
_Bnu | CDFS, Trackdisk by default does not support drives with different block/sector sizes on the same volume. | 19:38 |
apolkosnik[m] | 👾 | 19:38 |
_Bnu | So there are a bunch of CD_ETC commands matching some of the TD_ETC commands. | 19:38 |
_Bnu | And they all require different handling. There's an example in the Amiga dev CD docs somewhere, aimed at CDTV and/or CD32. | 19:38 |
mntmn | eep | 19:38 |
Claude | but wouldn't direct SCSI just Pass trough to the SCSI CDROM ? | 19:38 |
Claude | the usb ones speak indeed SCSI | 19:39 |
mntmn | assuming that usb scsi cdroms exist... which i don't know | 19:39 |
mntmn | ah ok! | 19:39 |
_Bnu | I don't think so, but then you'd need to support all the SCSI commands for it. | 19:39 |
mntmn | scsi commander | 19:39 |
mntmn | well, good that i did not promise cdrom support | 19:39 |
Claude | blueray ? | 19:39 |
Claude | or at least Iomega jazz ? | 19:40 |
_Bnu | Direct SCSI is some Trackdisk thing as well, I believe... I still have no idea how to enable it except for writing it to the partition info thing with 3.5/3.9/3.1.4 HDToolBox. | 19:40 |
Claude | just for reference.. mmc6r02g.pdf | 19:42 |
_Bnu | I think JAZ drives are just removable standard removable media and can't have different sector sizes per volume either. | 19:43 |
Claude | that's the SCSI commandset for usb cd | 19:43 |
_Bnu | Technically all the PiSCSI drives are removable, but the REMOVE/EJECT/etc. commands are just ignored. | 19:43 |
Claude | yeah jaz is like a harddisk, was more a joke :) | 19:43 |
mntmn | alright, i will have to nap | 19:44 |
_Bnu | In the frog pond... | 19:44 |
- WoC (QUIT: Remote host closed the connection) (woc@2603-8080-cd40-00c6-eaaf-8a29-4225-dc1f.res6.spectrum.com) | 20:51 | |
- RobDangerous (QUIT: Ping timeout: 256 seconds) (~Thunderbi@p200300ec8f3e1c00a4ebaf4c7a7fe26d.dip0.t-ipconnect.de) | 20:51 | |
mntmn | ok ok | 21:08 |
mntmn | // poor man's 64... i mean 41 bit | 21:47 |
mntmn | block = (offset >> SD_SECTOR_SHIFT) | (offset_hi << (32-SD_SECTOR_SHIFT)); | 21:47 |
mntmn | > #define DRIVE_NEWSTYLE (0x4E535459L) /* 'NSTY' */ | 22:03 |
mntmn | "nasty" | 22:03 |
mntmn | borrowed the TD64/NSD stuff from piscsi ;3 | 22:09 |
mntmn | but we have only 41 bit support right now... | 22:10 |
+ RobDangerous (~Thunderbi@p200300ec8f3e1c00a4ebaf4c7a7fe26d.dip0.t-ipconnect.de) | 22:17 | |
mntmn | oh interesting | 22:24 |
mntmn | EHCI timed out on TD - token=0x800d8d80 | 22:24 |
mntmn | usb_bulk_msg error status -2147483648 | 22:24 |
mntmn | BBB_reset | 22:24 |
mntmn | but it did not crash | 22:24 |
mntmn | PFS3 was able to format a 12.6GB partition on the stick | 22:24 |
mntmn | these errors happen from time to time when writing a lot of stuff, but it seems to recover from them still | 22:26 |
mntmn | currently copying all my whdgames as a stress test... | 22:28 |
+ WoC (woc@2603-8080-cd40-00c6-eaaf-8a29-4225-dc1f.res6.spectrum.com) | 22:53 | |
forcie | mntmn: there is a very good integrity check and repair tool for pfs3 but i think it is only available for morphos | 23:46 |
forcie | (included with the os) | 23:46 |
forcie | i also get the occasional pfs3 error but with that tool i have had 100% success in repairing all errors | 23:47 |
forcie | i guess the 68k pfsdoctor also works | 23:48 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!