From sjudd at ffd2.com Sat Aug 5 09:47:55 2006 From: sjudd at ffd2.com (Steve Judd) Date: Sat, 5 Aug 2006 08:47:55 -0600 (MDT) Subject: [Slackers] Maybe finally an update this weekend Message-ID: Hey dewdz, OK, our company has left, and for the first time in a while I have a more or less free weekend, so... I plan on doing some slanging, and maybe will have an update later on. Woo-hoo! -Steve From jaymz at artificial-stupidity.net Sat Aug 5 11:10:58 2006 From: jaymz at artificial-stupidity.net (Jaymz Julian) Date: Sun, 6 Aug 2006 02:10:58 +1000 Subject: [Slackers] Maybe finally an update this weekend In-Reply-To: ; from sjudd@ffd2.com on Sat, Aug 05, 2006 at 08:47:55AM -0600 References: Message-ID: <20060806021057.N55170@artificial-stupidity.net> On Sat, Aug 05, 2006 at 08:47:55AM -0600, Steve Judd wrote: > Hey dewdz, > > OK, our company has left, and for the first time in a while I have a more > or less free weekend, so... I plan on doing some slanging, and maybe will > have an update later on. > > Woo-hoo! Good Luck! -- -- Jaymz Julian - Coder, Visionary, Fat Ass. "Hannibal is a serial killer. He only likes to kill and eat people. Very few people have `I want to be killed and eaten' on their cards, so Hannibal is out of a job." - http://cards.sf.net From metalfoot at petscii.com Fri Aug 11 22:00:29 2006 From: metalfoot at petscii.com (Alex Klages) Date: Fri, 11 Aug 2006 22:00:29 -0500 Subject: [Slackers] Maybe finally an update this weekend In-Reply-To: <20060806021057.N55170@artificial-stupidity.net> References: <20060806021057.N55170@artificial-stupidity.net> Message-ID: Sounds good to me! I'm going to try slanging a little myself in the near future... I'm hoping to get some inspiration from this list! -Alex On 8/5/06, Jaymz Julian wrote: > > On Sat, Aug 05, 2006 at 08:47:55AM -0600, Steve Judd wrote: > > Hey dewdz, > > > > OK, our company has left, and for the first time in a while I have a > more > > or less free weekend, so... I plan on doing some slanging, and maybe > will > > have an update later on. > > > > Woo-hoo! > > Good Luck! > > -- > -- > Jaymz Julian - Coder, Visionary, Fat Ass. > "Hannibal is a serial killer. He only likes to kill and eat people. > Very few people have `I want to be killed and eaten' on their cards, > so Hannibal is out of a job." - http://cards.sf.net > _______________________________________________ > Slackers mailing list > Slackers at starbase.globalpc.net > http://starbase.globalpc.net/mailman/listinfo/slackers > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://starbase.globalpc.net/pipermail/slackers/attachments/20060811/07d11644/attachment.html From sjudd at ffd2.com Sun Aug 20 12:17:42 2006 From: sjudd at ffd2.com (Steve Judd) Date: Sun, 20 Aug 2006 11:17:42 -0600 (MDT) Subject: [Slackers] Woo-hoo -- update finally up Message-ID: Greetz0rz, Okay, finally have an update: http://www.ffd2.com/fridge/slang/update15.zip This one fixes most of the earlier bugs; the only thing I left alone was the "for x=0:255" bug. Still deciding what to do about that; right now I'm leaning towards leaving it in, because the code gets pretty inefficient (larger and slower) otherwise. James, I never found the linker problems you were having, but I strongly suspect they were the same bug as one of Magnus's. This update involved a fair amount of pointer code rewriting. Which, of course, involved a fair amount of re-figuring out how it all worked. Which brings up one other point: I'm one with the code again and can currently address problems pretty quickly, so any bugreports would be welcome sooner rather than later. It's lame of me to ask this, seeing as how long it's taken me to get an update out, but such is life. Thanks guys! Hope this one works right for a change! -Steve From magli143 at gmail.com Sun Aug 20 13:41:55 2006 From: magli143 at gmail.com (Magnus Lind) Date: Sun, 20 Aug 2006 20:41:55 +0200 Subject: [Slackers] Woo-hoo -- update finally up In-Reply-To: References: Message-ID: <44E8ACF3.6070706@gmail.com> Steve Judd wrote: > This update involved a fair amount of pointer code rewriting. Which, of > course, involved a fair amount of re-figuring out how it all worked. > Which brings up one other point: I'm one with the code again and can > currently address problems pretty quickly, so any bugreports would be > welcome sooner rather than later. It's lame of me to ask this, seeing as > how long it's taken me to get an update out, but such is life. Hi Steve, One quick test I could do right away was to recompile my slang-project. Unfortunately enough, there seems to have sneaked in a regression since the 1.4 release. Its no longer possible to declare pointer variables at specific locations. This code works using the 1.4 release but now fails with a "Ummm... thats not a pointer." message. ----------------------------------------- float ^fp1 float ^fp4@$59 ^fp1 = 3.14 ^fp4 = 3.14 sub test()_float ^fp2, float ^fp3@$47 ^fp2 = 3.14 ^fp3 = 3.14 endsub ------------------------------------------ Ok, using pointer variables at fixed locations might not be the most common thing to do. However I ran into this because there's functions in the BASIC ROM that I "sub asm" wrap that use this way of returning values. /Regards Magnus Lind From sjudd at ffd2.com Sun Aug 20 15:39:54 2006 From: sjudd at ffd2.com (Steve Judd) Date: Sun, 20 Aug 2006 14:39:54 -0600 (MDT) Subject: [Slackers] Woo-hoo -- update finally up In-Reply-To: <44E8ACF3.6070706@gmail.com> References: <44E8ACF3.6070706@gmail.com> Message-ID: Hey Magnus, Huh, weird. One of the things I tested hard against is @-var pointers to arrays, i.e. ubyte ^b(256)@$60 should work. I will fix this up quickly, though. -Steve From sjudd at ffd2.com Sun Aug 20 17:08:24 2006 From: sjudd at ffd2.com (Steve Judd) Date: Sun, 20 Aug 2006 16:08:24 -0600 (MDT) Subject: [Slackers] Woo-hoo -- update finally up In-Reply-To: References: <44E8ACF3.6070706@gmail.com> Message-ID: OK, a new version is now at http://www.ffd2.com/fridge/slang/update15.zip that fixes the pointer @-var problem. Such are the dangers of meddling with old code. cu, -Steve From magli143 at gmail.com Mon Aug 21 14:30:40 2006 From: magli143 at gmail.com (Magnus Lind) Date: Mon, 21 Aug 2006 21:30:40 +0200 Subject: [Slackers] Woo-hoo -- update finally up In-Reply-To: References: <44E8ACF3.6070706@gmail.com> Message-ID: <44EA09E0.1020104@gmail.com> Steve Judd wrote: > OK, a new version is now at > > http://www.ffd2.com/fridge/slang/update15.zip > > that fixes the pointer @-var problem. Such are the dangers of meddling > with old code. Thanks, this version works much better. However I have found one tiny problem with this one too: pointers to byte arrays used as return values don't work ---------------------------------------- test() test_buf(10) = 3 sub test()_ubyte ^buf($100) endsub ---------------------------------------- fails with a "(01) Syntax error" while ---------------------------------------- ubyte ^buf($100) buf(10) = 3 ---------------------------------------- works as expected. /Regards Magnus Lind From sjudd at ffd2.com Mon Aug 21 21:23:59 2006 From: sjudd at ffd2.com (Steve Judd) Date: Mon, 21 Aug 2006 20:23:59 -0600 (MDT) Subject: [Slackers] Woo-hoo -- update finally up In-Reply-To: <44EA09E0.1020104@gmail.com> References: <44E8ACF3.6070706@gmail.com> <44EA09E0.1020104@gmail.com> Message-ID: Hey Magnus, > Thanks, this version works much better. However I have found one tiny > problem with this one too: > > pointers to byte arrays used as return values don't work > ---------------------------------------- > test() > test_buf(10) = 3 > > sub test()_ubyte ^buf($100) > endsub Yes, sorry, forgot to mention this. The above is illegal -- the way to think of it is that you can't pass an array, just a pointer to an array. To do the above situation, you'd need to do something like ubyte ^buf(256) test() buf = test_buf; buf(10)=3 The other option is to make both vars @-vars at the same address. This is a limitation due to how subroutine prototyping works, combined with the fact that pointers were added very late in the game. I think there's still a bug with @-var subroutines, so I'll probably be uploading yet another update shortly. cu, -Steve From sjudd at ffd2.com Mon Aug 21 21:42:40 2006 From: sjudd at ffd2.com (Steve Judd) Date: Mon, 21 Aug 2006 20:42:40 -0600 (MDT) Subject: [Slackers] Updated update update Message-ID: http://www.ffd2.com/fridge/slang/update15c.zip I even named it slightly different from the earlier updates. What a concept. -S From sjudd at ffd2.com Fri Aug 25 15:57:47 2006 From: sjudd at ffd2.com (Steve Judd) Date: Fri, 25 Aug 2006 14:57:47 -0600 (MDT) Subject: [Slackers] Paging Jaymz... Paging Jaymz... Message-ID: Could you try compiling your existing project using the new update, to see if it works? (If it doesn't, I have a little time this weekend, maybe even a little motivation.) 7|-|4n]