Utilitybase chatlog - 2006-04-12

Back to overview|Highlight a word

00:03:32   --> jahc (~jahc@jahc.Amigaworld.Net) has joined #amigadev
00:03:33 jahc if(s=(char *)FindToolType(toolarray,(const char*)"HOWMANYTOWIN"))
00:03:42 jahc main.cpp:578: error: invalid conversion from 'const char**' to 'char**'
00:03:44 jahc how to fix?
00:04:51 jahc wait..
00:04:52 jahc it was originally
00:05:00 jahc if(s=(char *)FindToolType(toolarray,"HOWMANYTOWIN"))
00:08:26 jahc I fixed it!
00:08:34 jahc "const char **toolarray;
00:08:34 jahc " is now "
00:08:34 jahc char **toolarray;
00:08:35 jahc "
00:08:45 jahc const char **toolarray;
00:08:49 jahc is nowchar **toolarray;
00:08:59 jahc argh.. I keep messing up my formatting. you get the idea. :)
00:11:22 jahc rockbeat, wookiechat, 5inarow all compile..
00:11:24 jahc now for simpleplay
00:13:17 jahc main.cpp:646: error: 'struct FileRequester' has no member named 'rf_NumArgs'
00:15:11 jahc You must not specify requester options by using both pre-V38
00:15:11 jahc tags like ASLFR_Flags1 and V38 tags like ASLFR_DoSaveMode as
00:15:11 jahc this can lead to unexpected results.
00:15:13 jahc damnnnnnnnnnn
00:16:52 wegster heh, breaking stuff?
00:18:06 jahc wtf
00:18:13 jahc the FileRequester struct has changed
00:18:32 jahc they've changed a bunch of rf_* to rf_*
00:18:34 jahc frargs = filerequester->fr_ArgList;
00:18:39 jahc etc
00:19:21 jahc oh well. fixed now.
00:20:12 wegster oh, uhh you mean rf->fr ?
00:20:27 wegster in the struct members?
00:20:29 jahc oops yes
00:20:36 jahc rf_ stuff is now fr_
00:20:48 jahc ASL_ExtFlags1,FIL1F_NOFILES <-- also I cant use this in my asl requester anymore.. had to change it to:
00:20:50 wegster wow, umm, tell me FileRequester is os4 only, which I don't believe?
00:20:57 jahc ASLFR_DrawersOnly, TRUE,
00:21:11 jahc FileRequester is for AmigaOS ASL requesters
00:21:57 jahc check out this file:
00:22:03 jahc sdk:include/include_h/libraries/asl.h
00:22:09 wegster jahc yeah uhh, figured that, but it's NOT os4 specific, right? so unless there's a fallback, is going to breakk existing 3.x code.
00:22:23 jahc search for struct FileRequester
00:22:23 jahc {
00:22:37 wegster jahc nod, I grep -rl'ed it earler, found it...one sec. BTW, sdkbrowser = semi-sucky, can't search through all docs :-(
00:22:51 jahc well.. "break" is a harsh word. I took me 10 seconds to make the changes :)
00:22:51   -!- * wegster needs to find a Unix man for aos.
00:23:00 jahc it
00:23:03 wegster jahc true, but...broke nonetheless.
00:23:26 wegster I didn't see it, was there a changelog on this sdk release?
00:23:41 jahc dont know
00:23:47 jahc brb, I have to back up my hard drive onto dvds
00:26:37   <-- jahc has quit (Quit: <klesterjr> Immoralized for all eternity <klesterjr> Immortalized, I mean )
00:41:05   --> Belxjander (~Belxjande@3155232f.2e099bf0.xtra.co.nz) has joined #AmigaDev
00:54:43   <-- bones has quit (Quit: This computer has gone to sleep)
01:20:03   <-- Belxjander has quit (Ping timeout: 180 seconds)
02:27:24   --> number6 (~user@14ef3beb.31b34b44.dialup.citynet.net) has joined #amigadev
02:48:46   <-- number6 has left #amigadev
05:48:02   --> Rigo (~repairs@Rigo.Amigaworld.Net) has joined #amigadev
07:24:05   --> Rigo_ (~repairs@113ade0c.14012855.blueyonder.co.uk) has joined #amigadev
07:24:10   <-- Rigo has quit (SVSKilled: NickServ (GHOST command used by Rigo_))
07:24:12   -!- Rigo_ is now known as Rigo
08:03:07   --> bones (~darren@1a9e3c85.11de379d.demon.co.uk) has joined #amigadev
09:02:16   --> Rigo_ (~repairs@113ade0c.14012855.blueyonder.co.uk) has joined #amigadev
09:02:21   <-- Rigo has quit (SVSKilled: NickServ (GHOST command used by Rigo_))
09:02:21   -!- Rigo_ is now known as Rigo
11:35:40   --> number6 (~user@3f26dfb9.31b34b44.dialup.citynet.net) has joined #amigadev
11:51:37   <-- AMiGR has quit (Quit: 0110101101110111011011000110000101110010011000010110101101101000)
12:26:51   --> Rigo_ (~repairs@113ade0c.14012855.blueyonder.co.uk) has joined #amigadev
12:26:56   <-- Rigo has quit (SVSKilled: NickServ (GHOST command used by Rigo_))
12:27:08   -!- Rigo_ is now known as Rigo
12:49:14   <-- number6 has left #amigadev
12:59:03   --> redblue (~star@1a8c5c1c.52eef1c.mt.videotron.ca) has joined #amigadev
12:59:17 redblue hi!
13:13:53 nicomen hi! ;)
14:33:34   <-- zerohero has quit (Quit: If there's a scale of stupid, I would be right on top, yeah!)
15:03:48   --> zerohero (zerohero@Zerohero.Amigaworld.Net) has joined #amigadev
15:16:01   --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev
15:16:10 BinoX And a good afternoon to you all :)
15:17:43   <-- BinoX has quit (Read error: Connection reset by peer)
15:42:51   --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev
15:43:09 BinoX Dunno what happened there... lol.. went for a cup of tea and then it had locked when I got back :(
15:43:40   --> racs (~not.tod@2ae78891.1366b407.catv.broadband.hu) has joined #amigadev
15:43:40 MrBot [racs] Pimp my flowers! ;)
15:43:43 racs hi there
15:43:57 BinoX hello :)
15:47:22 BinoX GO! Print! Go dot matrix printer!
15:49:15 BinoX heh.. my code compiles with new SDK ^_^ no problems :D
15:49:28 BinoX (Yes I am very bad at coding sometimes)
15:50:29 racs BinoX: are you compiling your code on a matrix printer? ;)
15:50:44 BinoX lol.. no :)
15:50:56 BinoX I use a dot matrix printer to print out pages of debug info
15:51:04 BinoX just do it straight to PRT:
15:51:29 BinoX with my laser printer it prints one line, spits out a page then prints the next line on the next page.. heh
15:51:40 BinoX but good old dot matrix just goes for it :)
15:52:14 BinoX Unfortunately.. I forgot that what I'm running outputs about 6000 lines
15:52:17 racs BinoX: dude, you are patient for sure...
15:52:51 BinoX I don't mind... usually I just have one or 2 lines going every so often if I'm testing new stuff
15:52:53 racs BinoX: how about using IExec->DebugPrintf instead?
15:53:06 racs you can catch that with Sashimi
15:53:07 BinoX I don't like reading stuff on screens.. lol
15:53:23 racs I don't like reading stuff from paper ;)
15:53:46 BinoX I take mine to the bathroom when I shower.. heh
15:54:34 racs BinoX: I don't have a waterproof palm, so I don't ;)
15:54:45 BinoX lol
15:55:10 racs anyway browsing my usual outputs from paper would be hard enough
15:55:12 BinoX On dot matrix printer you can just lay it out about 5 pages at a time then dry hand and turn over
15:55:36 BinoX lol.. I just noticed that "Oh god, please work!" printed out
15:55:59 BinoX That'll be the memory allocation starting.. lol
15:56:05 racs I was struggling with an exec dump from Petunia, which sized up to more than 110 megs!
15:56:14 racs so, I won't print that ;)
15:56:20 BinoX ouch
15:56:31 BinoX biggest output file I've had so far is just over 2 mb
15:56:40 racs BinoX: I envy you ;)
15:56:53 racs 10 megs is not an unusual size here :P
15:57:13 BinoX Ouch.. I'm only writing a browser.. so not much to output apart from what it's doing with what tag
15:57:58 racs BinoX: well, this it the life of an emulator coder ;)
15:58:00 BinoX And since I have friday off work I'll have a whole day of coding and may (finally) have something that people would be able to use without having to recompile every time.. lol
15:58:23 BinoX heh.. I've always wanted to code an emulator.. but it's beyond my understanding
15:58:56 racs BinoX: usually fairy easy, the problems are coming at the undocumented features of the hw...
15:59:25 racs BinoX: and those Freakin' Idiots, who exploited those features
15:59:50   <-- BinoX has quit (Read error: Connection reset by peer)
16:01:12   --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev
16:01:14 BinoX Dammit
16:01:26 BinoX My A1 keeps turning off it's PS/2 ports
16:02:12 BinoX i've never really understood the logic behind emulator coding
16:02:54 racs BinoX: well, all you need to do is the same what the original HW does ;)
16:03:10 BinoX Yeah.. that's the bit that I don't get :p lol
16:03:37 BinoX I've never seen how software can pretend to be hardware... my brain just can't cope with the concept I think
16:06:42 racs BinoX: it is just similar like when I was a child I couldn't imagine how the soup made out of vegetables and meat ;)
16:07:21 BinoX lol.. very good point... then again.. It doesn't help that I'm not a good programmer...
16:07:28 BinoX I'm just a logical one
16:09:10 racs BinoX: how to emulate video: put pixels on the screen :)
16:09:42 racs BinoX: how to emulate processor: do exactly the same when an instruction evaluated
16:09:52 racs BinoX: there is no black magic behind the scenes
16:10:16 BinoX Yeah.. but how do you work out how to even start?
16:10:51 racs BinoX: depends on the complexity, but mostly starting with the processor is a good point
16:11:16 racs BinoX: obviously you need to know the hw pretty well
16:11:35 racs BinoX: and knowing the sw would help a lot also
16:12:33 BinoX How would you.. for example, know where you're supposed to start execution of a program?
16:12:58 BinoX since not all executable start execution from the beginning
16:13:25 BinoX Then again.. I guess in a way.. they would
16:13:31 BinoX I've confused myself already.. lol
16:13:39 racs BinoX: all processors have a starting address when it started up
16:13:47 BinoX ah
16:13:52 BinoX it all comes together
16:14:09 racs BinoX: you just need to mimic the same behavior
16:14:27 racs BinoX: every hw has internal registers, all you need to do is handling similar memory areas
16:15:09 racs BinoX: the big thing is how fast could you emulate them
16:15:13 BinoX so pretty much 1st few steps are.. allocate the systems memory, emulate processor, start instruction, work out from there
16:15:24 racs BinoX: not that if it would be possible or not
16:15:34 racs BinoX: yep
16:15:45 BinoX Oh.. I suddenly start to understand
16:16:02 racs BinoX: now, you could start coding ;)
16:16:39 BinoX so it's pretty much... look at instruction, it's "whatever", "whatever" on my computer is really "thingy", so "thingy" data
16:16:44 racs BinoX: you have the vegetables, the meat and the pot ;)
16:17:01 racs BinoX: put some water into it ;)
16:17:30 BinoX Hmm.. once the browser is done I may attemp a speccy emulator... start with something simple ^_^;;
16:17:54 racs BinoX: there are other spectrum emulators already, do something which is yet missing
16:18:23 BinoX Hmm... but I'd need something simple to start with to make sure I could do it 1st..
16:18:26 racs BinoX: BTW, what browser are you coding?
16:19:09 BinoX a web browser.. heh... called interWeb.. nothing functional really yet besides some (incorrectly) rendered text and image placers
16:19:25 racs BinoX: ok ;)
16:19:32 BinoX but it DOES do css
16:19:45 racs BinoX: so I guess it is yet long way to finish :)
16:20:01 BinoX Dunno... I think I'm just calcualting something wrong
16:20:53 BinoX I want to get it rendering stuff properly this weekend... but I said that last weekend and didn't get too far :\
16:21:06 racs BinoX: I am not brave enough to get into developing a browser :)
16:21:10 BinoX It's rendering better than it was.. but TOO wrong
16:21:34 BinoX lol why not? It's just looking at text docs and drawing lines and text really
16:21:49 BinoX That's stuff my brain can cope with.. lol
16:22:05 racs there are sooo many things, standards, bad behavior from other browsers, tons of media types to be supported, sounds scary to me
16:25:07 BinoX As for media types... cheat (for now) and use datatypes ;)
16:25:25 racs BinoX: that is ok, I think
16:25:27 BinoX standards.. Well, I'm a web developer for my main work anyway.. so I got a rough idea..
16:25:52 BinoX and bad behaviour... *shrugs* tough... lol
16:25:56 BinoX maybe later ;)
16:26:28 racs BinoX: well, I did a few (hundred ;) pages, so I have ideas too, that is why I don't want to start into this mess ;)
16:26:34 BinoX I like the nex OS4 SDK though... much better docs ^_^
16:26:38 BinoX new*
16:26:56 racs BinoX: is it? never checked yet
16:27:10 BinoX yeah :)
16:27:27 BinoX Whole new sections lol
16:28:13 racs the SDK wasn't public before, was it?
16:28:26 BinoX Don't think t twas, no
16:28:30 BinoX it*
16:31:17 BinoX The fun thing about writing a browser... is that I've got to write a custom gadget system to go with it :p
16:31:43 BinoX To allow for layered gadgets (Which intuition can't do.. from what I can tell)
16:32:01 racs BinoX: layered gadgets?
16:32:19 BinoX i.e. a textbox on top of another text box... using position: absolute; in css
16:32:31 BinoX It can (and does) happen
16:32:35 racs BinoX: ah
16:32:52 BinoX so I have almost a whole custom GUI system.. heh
16:33:11 BinoX so I'm writing the whole thing in a custom run window... just so I can try stuff out when I code.. lol
16:35:00 BinoX And it allows for skinning ;)
16:35:09 racs BinoX: hm... :)
16:35:34 BinoX I've already written a skinning system.. lol
16:35:38 BinoX anyway.. brb.. food ^_^;
17:19:18 racs gone
17:19:19 racs bye all
17:19:47   <-- racs has quit (Quit: )
18:40:54   <-- redblue has quit (Ping timeout: 180 seconds)
18:42:24 zerohero anyone know how IDOS->DateToStr() is supposed to work?
18:42:38 zerohero and it seem very different from 3.x
18:49:01   --> Belxjander (~Belxjande@1599c5.9b184f5.xtra.co.nz) has joined #AmigaDev
19:22:29   <-- Belxjander has quit (Ping timeout: 180 seconds)
19:52:15   --> number6 (~user@141bd0a1.31b34b44.dialup.citynet.net) has joined #amigadev
19:52:59   <-- number6 has left #amigadev
20:00:38   --> redblue (~star@4e929bd.12ed360d.mt.videotron.ca) has joined #amigadev
20:50:14 BinoX zerohero: I kinda know how to use it.. but I never actually have... heh
20:53:26 BinoX actually scratch that.. I get how to use it... but I don't get how to actually USE the returned Str :p
20:53:38 BinoX since it actually returns a long.. lol
21:24:03   --> AmiZaP (~HAL@1b415a10.1e624c7d.gliwice.msk.pl) has joined #amigadev
21:37:59   --> number6 (~user@df46914.31b34b44.dialup.citynet.net) has joined #amigadev
22:30:42   <-- AmiZaP has quit (Quit: I love jahc)
22:43:29 number6 zerohero: Hi
22:43:49   --> Kicko (~Kicko@17dc4bf9.1c25dec6.cust.bredbandsbolaget.se) has joined #amigadev
22:44:03 Kicko zerohero at keyboard +
23:16:17   <-- Kicko has quit (Quit: I love jahc)
23:16:34   <-- number6 has left #amigadev
23:37:45   --> Guest (~Guest@371cd19e.2e01205d.gprs.dnafinland.fi) has joined #amigadev
23:38:30   <-- Guest has quit (Client closed connection)