Utilitybase chatlog - 2006-03-29

Back to overview|Highlight a word

00:19:17   --> jahc (~jahc@jahc.Amigaworld.Net) has joined #amigadev
00:31:59   --> number6 (~user@2d996ff7.31b34b44.dialup.citynet.net) has joined #amigadev
00:47:09   <-- jahc has quit (Quit: <klesterjr> Immoralized for all eternity <klesterjr> Immortalized, I mean )
02:43:50   <-- wegster has quit (Ping timeout: 180 seconds)
02:45:44   --> wegster (~wegster@2d996ff7.3d716d1f.res.rr.com) has joined #amigadev
03:06:54   <-- Dessimat0r has quit (Quit: )
03:43:12   <-- number6 has left #amigadev
05:41:50   --> Rigo (~repairs@Rigo.Amigaworld.Net) has joined #amigadev
05:45:55   <-- Rigo_A1 has quit (Quit: Client exiting)
09:17:58   <-- arc has quit (Ping timeout: 180 seconds)
09:18:49   --> arc (~u@38050f2d.2142b218.lv.cox.net) has joined #amigadev
09:21:53   <-- Bitpool has quit (Read error: Connection reset by peer)
09:22:18   --> Rigo_ (~repairs@113ade0c.14012855.blueyonder.co.uk) has joined #amigadev
09:22:22   <-- Rigo has quit (SVSKilled: NickServ (GHOST command used by Rigo_))
09:22:24   -!- Rigo_ is now known as Rigo
09:34:27   <-- OrginWork has quit (Ping timeout: 180 seconds)
10:42:16 zerohero i found this piece of asm in a c project, anyone know what it does:
10:42:18 zerohero asm("movel %0,sp;move.l #0,%d0;rts"::"r"(__SaveSP):"sp");
10:42:19 zerohero ?
10:42:46 zerohero i'm guessing it's like exit(xx); or something?
10:53:27   <-- zerohero has quit (Quit: If there's a scale of stupid, I would be right on top, yeah!)
11:16:09   <-- arc has quit (HUB.US.AmigaWorld.Net SE2.AmigaWorld.Net)
11:16:10   <-- Orgin has quit (HUB.US.AmigaWorld.Net SE2.AmigaWorld.Net)
11:16:14   --> arc (~u@38050f2d.2142b218.lv.cox.net) has joined #amigadev
11:16:14   --> Orgin (~Banana@IRC-Admin.Amigaworld.Net) has joined #amigadev
11:16:44   --> zerohero (zerohero@Zerohero.Amigaworld.Net) has joined #amigadev
11:16:45   <-- arc has quit (Ping timeout: 180 seconds)
11:17:14   --> arc (~u@38050f2d.2142b218.lv.cox.net) has joined #amigadev
12:39:58   --> Ami603 (~coco@1366b407.1b5b45e4.dynamicIP.rima-tde.net) has joined #amigadev
12:40:01 Ami603 hi
12:40:24   -!- Ami603 is now known as Ami603[w0rK]
12:43:25   <-- Ami603[w0rK] has quit (Ping timeout: 180 seconds)
12:44:48   --> Ami603 (~coco@1366b407.1b5b45e4.dynamicIP.rima-tde.net) has joined #amigadev
12:44:51   -!- Ami603 is now known as Ami603[w0rK]
12:49:34 Ami603[w0rK] back to work, bbl
13:05:08   <-- zerohero has quit (Quit: If there's a scale of stupid, I would be right on top, yeah!)
15:13:10   --> zerohero (zerohero@Zerohero.Amigaworld.Net) has joined #amigadev
15:28:24   <-- Rigo has quit (Ping timeout: 180 seconds)
15:45:31 zerohero when doing a diff that patch can use, is 'diff -r dir1 dir2' enough?
15:46:06 zerohero ie 'patch -p <resulting.diff' would apply it?
15:51:22 zerohero hmm, i guess not
16:28:23   <-- wegster has quit (Ping timeout: 181 seconds)
17:11:08   --> SixK (~SixK@297f4433.2e1bf8a9.fbx.proxad.net) has joined #amigadev
17:11:38 SixK lo
17:19:22   <-- Ami603[w0rK] has quit (Quit: AmigaOS4, teh Real thing!)
17:40:54   <-- zerohero has quit (Quit: If there's a scale of stupid, I would be right on top, yeah!)
17:47:09   --> raef[amiga] (~raefamiga@1c25dec6.2ae78891.adsl.xs4all.nl) has joined #AMIGADEV
17:48:21   <-- raef[amiga] has quit (Quit: )
18:00:56 BinoX Hello there... any fellow coders about?
18:01:47   --> antique (~user@362b7f89.3a07d0d4.cust.smrtcall.net) has joined #amigadev
18:09:07   <-- BinoX has quit (Quit: WookieChat 2 on AmigaOS4 Pre4)
18:09:44   --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev
18:10:21   <-- antique has quit (Ping timeout: 180 seconds)
18:12:00   --> antique (~user@362b7f89.3a07d0d4.cust.smrtcall.net) has joined #amigadev
18:12:13   --> Ami603 (~coco@1366b407.1b5b45e4.dynamicIP.rima-tde.net) has joined #amigadev
18:12:18 Ami603 re
18:12:39 antique amon
18:13:42 BinoX Howdy
18:14:42 BinoX I love inefficient debugging :D Printing 100s of pages of printf()ed output in search of problems.. lol
18:15:06 BinoX to be precise... 800 pages.. lol
18:15:19 BinoX well... 800 and something anyway
18:15:35 antique binox: bored? hehe
18:16:15 BinoX No... heh, my program gives me DSI errors, but if I ignore them it continues to work properly anyway... so I'm trying to find out why...
18:16:30 antique hehe,kinda program is that?
18:16:32 BinoX I think I'm not defining an array properly somewhere
18:16:41 BinoX It's a secret program ;)
18:17:02 Ami603 maybe a wrong pointer
18:17:40 antique me like secrets. :)
18:18:25 BinoX Possibly... but I have the funny feeling I'm doing some counting wrong somewhere..... ooh.. that may be it.. heh
18:18:33 BinoX It is.. lol
18:18:35 BinoX damn
18:18:45   --> spotUP (~spot@1366b407.bf6674e.telia.com) has joined #amigadev
18:18:52 spotUP hellooo!...
18:19:07 BinoX I'm not sticking a null on the end of my char array then trying to printf it as a string >_<... I am a fool.. lol
18:19:30 spotUP i have a short question, i have been getting this error sometimes, when trying to compile sdl stuff 'SDK:local/newlib/lib/libsdl_image.a(IMG_png.o)(.text+0x590): In function `IMG_LoadPNG_RW':
18:19:30 spotUP : undefined reference to `png_set_expand'
18:19:31 BinoX hey spotUP
18:19:47 spotUP opps, pressed enter by mistake..
18:19:50 BinoX lol
18:19:53 spotUP hi BinoX!
18:20:01 Ami603 spotUP: linking with -lpng?
18:20:08 spotUP well, this sdl_image and png stuff ...
18:20:11 spotUP hmm...
18:20:18 spotUP Ami603, don't think so.. :)
18:20:26   -!- * BinoX has never used SDL so I don't think I can help here
18:20:28 Ami603 then try and return back with an executable
18:20:30 Ami603 ;)
18:21:34 spotUP hmm...
18:21:41 spotUP didn't work..
18:22:14 Ami603 w8
18:22:56 Ami603 i guess you're missing some includes aswell
18:23:21 spotUP aaah
18:23:33 spotUP i added -ljpg too, and the compile went much better.
18:23:47 spotUP aah
18:23:53 spotUP no, it didn't :)
18:24:47 spotUP but -ljpeg made it a bit better.
18:29:19   <-- Ami603 has quit (Quit: AmigaOS4, teh Real thing!)
18:29:53 spotUP which version of libpng do you guys use? where to get it?
18:33:40 spotUP Hah! Solved it! :) i added -lz after -lpng ... what does -lz do?
18:34:36 antique ?
18:35:11 spotUP yes! and the EXE WORKS! :) it's my first sdl compile made completely on my own! except for that -lpng thingie..:)
18:35:31 antique cool. what you compiled?
18:36:25 spotUP a demo called gloegg.
18:36:36 spotUP hmmmm... there's no music though :/ ...
18:36:43 antique never heard of, is it any good?
18:37:05 spotUP no, it sucks. :) but i am happy nevertheless. i am starting to get the hang on sdl compiling.
18:37:35 antique that's good. soon you can port world of warcraft for me. :) hehe
18:37:41 spotUP haha
18:38:10 antique :)
18:38:19 antique os4?
18:38:38 spotUP varthall managed to compile milkytracker (www.milkytracker.net) last night. it works perfectly apart from some filesystem things, you can only load/save mods/xm to the progdir, but still, that program rocks.
18:39:03 spotUP i bet he will fix the filesys things soon..
18:39:26 spotUP and yes, the lousy gloegg demo is compiled for aos4 if that's what you asked about?
18:39:43 antique that's good. :) i'm stuck on os3.9. :( :(
18:40:03 spotUP uhum.. 'gloegg' use mpg123 for sound.... hmm... let's see...
18:41:30 spotUP antique :( i hope there'll be some new hw for you to buy soon.
18:43:41 antique i'm waiting on a reply on a SE. Will do untill some new hw comes...
18:46:06 spotUP yea, if it's cheap enuff.
18:46:08 spotUP :)
18:46:15   --> Ami603 (~coco@1366b407.1b5b45e4.dynamicIP.rima-tde.net) has joined #amigadev
18:46:20 antique 300pounds
18:46:24 antique uk
18:46:35 Ami603 stupid crash i got
18:47:26 antique oh?
18:50:46 antique spotup: getting a tad desperate,since my classic is slowly dying here.
18:57:44 spotUP antique, i can imagine. can't live w/o my sweet amiga. :)
18:57:55 spotUP is there any commandline mp3 player for os4?
18:58:07 spotUP mpg123 available on aminet, doesn't seem to use ahi :/
18:59:43 antique ?
19:00:25 spotUP i need a commandline mp3 player for the sdl demo i compiled, it's lame code, it use an external command to play the music.
19:00:53 antique ok!
19:01:25 antique no idea. do you know how the listview kind gadtools work? i can't get text in my listview. :(
19:03:25 spotUP ohno! :) i am not a coder. all i can do is compile things.
19:03:56   <-- spotUP has quit (Quit: I love jahc)
19:04:28   --> spotUP (~spot@1366b407.bf6674e.telia.com) has joined #amigadev
19:04:31 spotUP woops.. :)
19:04:33 spotUP crash
19:05:51 antique hehe.
19:06:04 antique telia. you from sweden?
19:09:47 spotUP yea
19:10:03 spotUP you too?
19:11:42 antique NO! hehe offcourse not. ;)
19:13:25 spotUP if you say so.. :)
19:13:36 antique from norway. :)
19:14:16 antique did you visit amigbg last year?
19:21:07 spotUP oh... :) i just changed the code to use MPEGA instead of MPG123. and it works. I am elite now. :) moaahahaha
19:21:16 spotUP yes i was at amigbg.
19:21:37 spotUP me and kalms went there together, he got me in for free. couldn't afford it otherwize.
19:21:40 spotUP :)
19:23:53   <-- antique has quit (Ping timeout: 180 seconds)
19:26:43   <-- spotUP has quit (Read error: Connection reset by peer)
19:35:42   <-- Ami603 has quit (Quit: AmigaOS4, teh Real thing!)
19:48:16 BinoX Hey.. nicomen u here?
19:48:25 BinoX Or any coder for that matter
19:49:14   --> antique (~user@362b7f89.3a07d0d4.cust.smrtcall.net) has joined #amigadev
19:49:21 BinoX wb :)
19:49:50 BinoX Do u know anything about structs in c? heh.. 'cause I wanna know if something is possible...
19:50:06 antique i'm just a newbie. :/
19:50:38 BinoX Damn.. I can't remember.. lol.. been a long time since I've done code that needed something like this
19:51:03   --> zerohero (zerohero@Zerohero.Amigaworld.Net) has joined #amigadev
19:51:08 BinoX hey zerohero
19:51:13 zerohero evening
19:51:22 BinoX can u give me some help with structs?
19:51:29 zerohero perhaps?
19:51:33 BinoX Is this possible?: http://utilitybase.com/paste/2673
19:52:36 antique as far as i know,yes. but what do i really know? hehe
19:52:37 zerohero should be yes?
19:52:49 BinoX Ah, thx ^_^
19:52:58 BinoX I've not used a struct like that before.. heh
19:53:31 zerohero easy enough to test tho :)
19:53:56 BinoX Yeah.. true... but I'd rather ask 1st that risk a DSI and rebooting.. lol
19:54:15 BinoX 'cause my XE seems to kill the PS/2 ports sometimes when I soft reboot
19:54:27 BinoX warm reboot.. whatever.. lol
20:00:02 nicomen BinoX: not sure if that will work no
20:00:17 nicomen same as int foo8bar]; probably wouldn't work
20:00:23 nicomen foo[bar];
20:00:28 nicomen maybe in c++;
20:00:33 nicomen but:
20:00:48 antique butt:
20:01:10 nicomen struct a { int szb; int szc; char *b; char c*; }
20:01:14 nicomen ...
20:01:21 nicomen struct a foo;
20:01:42 nicomen foo.szb = 10;
20:02:19 nicomen foo->b = malloc(foo.szb*sizeof(char));
20:02:27 nicomen would probably do what you want
20:02:48 BinoX Oooh.. thx :)
20:03:01 nicomen remember to free the members later though
20:03:30 BinoX I realised when coding earlier that I had no way of knowing the size until it was just about to be used... heh
20:05:52 antique nico: might get a a1. :)=
20:07:22 nicomen antique: cool ;)
20:07:38 antique nico: a used SE but will do for now. :)
20:13:58 BinoX Mmm.. DSI... brb
20:14:04   <-- BinoX has quit (Quit: WookieChat 2 on AmigaOS4 Pre4)
20:26:17   --> BinoX (~BinoX@2850d5e8.24785cc1.demon.co.uk) has joined #amigadev
20:26:24 BinoX Hello again..
20:27:06 BinoX heh... sill me... multiplying by 0 >_>;;
20:27:10 BinoX silly*
20:32:51   --> Belxjander (~Belxjande@231698ba.2486bca.xtra.co.nz) has joined #AmigaDev
20:52:40   --> Rigo (~repairs@113ade0c.14012855.blueyonder.co.uk) has joined #amigadev
20:57:33 antique nico: you up?
20:58:57   <-- SixK has quit (Ping timeout: 180 seconds)
21:00:47   <-- Belxjander has quit (Ping timeout: 180 seconds)
21:03:32 nicomen antique: yes
21:04:44 antique nico: got a problem with listview gadget. needs struct *list. can't get anything displayed. have filled a char *tab_album[] but can't put them in the lister.
21:04:50 antique any ideas?
21:05:52 nicomen nope ;)
21:08:36 antique hmmm. ok! why can't i be smart?
21:09:34 zerohero why can't you use either mui or reaction, which actually is easy to program for ;)
21:09:57 antique cos i'm stupid. hehe
21:10:07 zerohero :)
21:12:35 BinoX Or write yer own GUI system if u don't like either ;)
21:13:07 antique I'm still stupid though! hehe
21:13:43 BinoX writing a gui system is easier than using reaction imo.. lol
21:17:12 antique hehe
21:17:42 BinoX But then.. I've never been much of a person to use standard things.. lol... I like the POWERRRRR!!!
21:17:52 zerohero BinoX: you've looked at feeling?
21:18:09 zerohero or is that feelin perhaps?
21:19:05 BinoX Yeah.. look at that, it's quite nice :) But not for the current project.. heh
21:19:25 zerohero :)
21:21:38 BinoX If I'm drawing the main bulk with a custom system I may as well do the lot :) and that enables skinning ^_^
21:36:54   <-- zerohero has quit (Quit: If there's a scale of stupid, I would be right on top, yeah!)
21:55:31   <-- antique has quit (Read error: Connection reset by peer)
22:15:21   --> number6 (~user@1872b73.31b34b44.dialup.citynet.net) has joined #amigadev
23:17:23   <-- Rigo has quit (Ping timeout: 180 seconds)