electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » Discussion » Schmooze
Working Day
Post new topic   Reply to topic
Page 1 of 3 [69 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: 1, 2, 3 Next
Author Message
BobTheDog



Joined: Feb 28, 2005
Posts: 4044
Location: England
Audio files: 32
G2 patch files: 15

PostPosted: Wed Jul 23, 2008 6:26 am    Post subject: Working Day
Subject description: How boring is yours.
Reply with quote  Mark this post and the followings unread

I am so bored with my day working today so was wondering what you lot are doing.

I am porting code from Irix to Windows to extract JPEG keyframes from MPEG video, yawn.
Back to top
View user's profile Send private message
Alexander



Joined: Apr 22, 2006
Posts: 373
Location: NL/QC
Audio files: 1
G2 patch files: 4

PostPosted: Wed Jul 23, 2008 6:29 am    Post subject: Reply with quote  Mark this post and the followings unread

Selling apples, booohoooring! Very Happy
_________________
http://husc-sound.com
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24119
Location: The Netherlands, Enschede
Audio files: 279
G2 patch files: 320

PostPosted: Wed Jul 23, 2008 6:32 am    Post subject: Reply with quote  Mark this post and the followings unread

I'm trying to make sense of an ICE trace ... when the code reads the i2c clock it kills the debug output for some reason ...

Code:

0044AC EC34 CCLOCKWRITEBLOCK                                                                                                       
                                   CALL    0x68, 0                              ----                     --         ----       --   
004469 0000                        NOP                                           ----                    --         ----       --   
004468 EC3A CCLOCKSETUP                                                                                                             
                                   CALL    C283ER29, 0                          ----                     --         ----       --   
00446A F005                        *FNOP*                                       ----                     --         ----       --   
000A74 6E5A C283ER29                                                                                                               
                                   MOVWF   tmp1, ACCESS                         ----                     --         ----       --   
000A76 50ED                        MOVF    POSTDEC0, W, ACCESS                  ----                     --         tmp1       01   
000A78 06E1                        DECF    FSR1L, F, ACCESS                     00104                    09            W       09   
000A7A C05A                        MOVFF   tmp1, INDF1                          FSR1L                    47         FSR1L       46 
000A7C FFE7                        NOP                                          tmp1                     01         ----       --   
000A7E 0012                        RETURN  0                                    ----                     --         00046       01 
000A80 6EEC                        *FNOP*                                       ----                     --         ----       --   
00446C 6EEC                        MOVWF   PREINC0, ACCESS                      ----                     --         ----       --   
00446E 0E00                        MOVLW   0                                    ----                     --         00104       09 
004470 EC35                        CALL    C28R3E29, 0                          ----                     --            W       00   
004472 F005                        *FNOP*                                       ----                     --         ----       --   
000A6A CFE6 C28R3E29                                                                                                               

... and 900 more lines ....


_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
BobTheDog



Joined: Feb 28, 2005
Posts: 4044
Location: England
Audio files: 32
G2 patch files: 15

PostPosted: Wed Jul 23, 2008 6:52 am    Post subject: Reply with quote  Mark this post and the followings unread

Thats greek Jan!
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24119
Location: The Netherlands, Enschede
Audio files: 279
G2 patch files: 320

PostPosted: Wed Jul 23, 2008 7:10 am    Post subject: Reply with quote  Mark this post and the followings unread

BobTheDog wrote:
Thats greek Jan!


I knew there would be a good reason why I don't understand it Laughing

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
kkissinger



Joined: Mar 28, 2006
Posts: 1369
Location: Kansas City, Mo USA
Audio files: 43

PostPosted: Wed Jul 23, 2008 7:26 am    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
BobTheDog wrote:
Thats greek Jan!


I knew there would be a good reason why I don't understand it Laughing


Arrgh!! Uncommented assembler source code! What a groan.

When I started out in programming I was into the "macho" notion of tracing machine code, patching in hex, etc etc.

Nowadays, I want commented high-level language that doesn't require much thought. My primary motive is to keep my weekends and evenings from being ruined.

I never implement new code on Fridays. Smile

_________________
-- Kevin
http://kevinkissinger.com
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24119
Location: The Netherlands, Enschede
Audio files: 279
G2 patch files: 320

PostPosted: Wed Jul 23, 2008 7:55 am    Post subject: Reply with quote  Mark this post and the followings unread

kkissinger wrote:
Arrgh!! Uncommented assembler source code!


It's no source code but an ICE trace rather with disassembled code - I'm not that nuts Laughing

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24119
Location: The Netherlands, Enschede
Audio files: 279
G2 patch files: 320

PostPosted: Wed Jul 23, 2008 7:58 am    Post subject: Reply with quote  Mark this post and the followings unread

kkissinger wrote:
I never implement new code on Fridays. :)


I've implemented the code over a good many weeks without having a hardware platform so I could not really test it .. I simulated the critical stuff though ... but ideally one should test immediately after coding .. I agree.

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Antimon



Joined: Jan 18, 2005
Posts: 4145
Location: Sweden
Audio files: 371
G2 patch files: 100

PostPosted: Wed Jul 23, 2008 7:59 am    Post subject: Reply with quote  Mark this post and the followings unread

I'm on the third day of my five week vacation. Cool sleeping sunny

/Stefan

_________________
Antimon's Window
@soundcloud @Flattr home - you can't explain music
Back to top
View user's profile Send private message Visit poster's website
Pehr



Joined: Aug 14, 2005
Posts: 1307
Location: Björkvik, Sweden
Audio files: 2

PostPosted: Wed Jul 23, 2008 8:03 am    Post subject: Reply with quote  Mark this post and the followings unread

I'm also on my third day, but of a 4 week vacation. Very Happy

Preparing for the Norberg festival Cool

.

_________________
YouTube channel
flickr photostream
http://loxodrom.blogspot.com
http://www.garageband.com/artist/loxodrom
http://soundcloud.com/loxodrom
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24119
Location: The Netherlands, Enschede
Audio files: 279
G2 patch files: 320

PostPosted: Wed Jul 23, 2008 8:46 am    Post subject: Reply with quote  Mark this post and the followings unread

Antimon wrote:
I'm on the third day of my five week vacation.


That's bloody off topic

Laughing

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Rykhaard



Joined: Sep 02, 2007
Posts: 1290
Location: Canada

PostPosted: Wed Jul 23, 2008 9:09 am    Post subject: Reply with quote  Mark this post and the followings unread

There are assembly coders here, I do thinks?? Very Happy Very Happy

Years upon millennia ago, I studied and partially taught myself assembly around 6800's, 8080's, 6502's, 6510s and the 68705 (for which I had the equivalent of today's PIC systems), but I never went any further.

Now - I've forgotten almost everything, never having done any actual programming in assembler. But, I have a task, that I haven't been able to complete yet. Sad

Would any of you fine coders out there, by CHANCE, know of where I could find a DIS-assembler that would understand (if I'm not mistaken in phrasing this) assembled 6809 code for the Radio Shack Color Computer??

To this day, there has been my most favourite ever text adventure game since 1982, that I'd LOVE to see how it works. But I haven't been able to find ANYthing that will load the actual code?

Would anyone know what I'm looking for and whether it may be available?

(There was still a web site FOR the game about a year ago, but it's designer wasn't responding to email at all.)

Thanks for any possibilities. Smile

Rych - the Basic / HTML 2.0 only, programmer. Wink
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
BobTheDog



Joined: Feb 28, 2005
Posts: 4044
Location: England
Audio files: 32
G2 patch files: 15

PostPosted: Wed Jul 23, 2008 9:18 am    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
Antimon wrote:
I'm on the third day of my five week vacation.


That's bloody off topic

Laughing


Cruel, so cruel.
Back to top
View user's profile Send private message
Wayne Higgins



Joined: Aug 16, 2007
Posts: 270
Location: Greenville, FL
Audio files: 1

PostPosted: Wed Jul 23, 2008 10:12 am    Post subject: Reply with quote  Mark this post and the followings unread

Boring!?! You want boring?!?!?!?

Total Suspended solids: filter the sample, dry the filter containg residue, weigh the filter, return filter to oven, weigh again

Total Dissloved solids: weigh the crucible, filter the sample, take the filtrate, put it in the crucible, dry it, weigh it, return to the oven, weigh it again.

Total solids: see above, just don't filter

Volatile solids: see all above, then burn off in 550 degree celcius oven, weigh

pH: stick a pH probe in a sample

COD: put sample in a vial with reagets, shake, cook for two hours, cool for two hours, read on spectrometer

BOD: take sample (with dilutions), add seed, read dissolved O2, incubate for 5 days, read O2 again.

Metals: digest sample in acid, stick probe in sample, watch it go up a little plastic tube, press start on computer take probe out when done.

Ignitiability: Heat sample with flame, thermometer in sample, if sample ignites, write down the temperature.

NO2, NO3, NO3+NO2, NH3, TKN OPO4, TP, Cl, ect....: put samples in machine, press start.

GOD, PLEASE SEND SOMEONE TO BUY MY MUSIC!!!!!!!!!!!!!!

_________________
http://www.virb.com/waynehiggins
http://www.myspace.com/waynehiggins
Back to top
View user's profile Send private message
BobTheDog



Joined: Feb 28, 2005
Posts: 4044
Location: England
Audio files: 32
G2 patch files: 15

PostPosted: Wed Jul 23, 2008 10:18 am    Post subject: Reply with quote  Mark this post and the followings unread

That actually sounds quite interesting!
Back to top
View user's profile Send private message
Antimon



Joined: Jan 18, 2005
Posts: 4145
Location: Sweden
Audio files: 371
G2 patch files: 100

PostPosted: Wed Jul 23, 2008 10:19 am    Post subject: Reply with quote  Mark this post and the followings unread

Rykhaard wrote:
To this day, there has been my most favourite ever text adventure game since 1982, that I'd LOVE to see how it works. But I haven't been able to find ANYthing that will load the actual code?


I'm curious - what's the name of the adventure game?

Sorry about the other OT post, I just couldn't resist. Wink

/Stefan

_________________
Antimon's Window
@soundcloud @Flattr home - you can't explain music
Back to top
View user's profile Send private message Visit poster's website
Rykhaard



Joined: Sep 02, 2007
Posts: 1290
Location: Canada

PostPosted: Wed Jul 23, 2008 10:23 am    Post subject: Reply with quote  Mark this post and the followings unread

Antimon wrote:
Rykhaard wrote:
To this day, there has been my most favourite ever text adventure game since 1982, that I'd LOVE to see how it works. But I haven't been able to find ANYthing that will load the actual code?


I'm curious - what's the name of the adventure game?


Madness and The Minotaur Smile

Quote:

Sorry about the other OT post, I just couldn't resist. Wink

/Stefan


Me too actually. Embarassed

Sometimes I don't have boredom at work, with my brain being free enough to design things for my modular whilst waiting for a test process to finish. Smile
It's the test processes that require babysitting, where my brain is tied up that are actually more frustrating (in not being able to design) than boring. Wink Razz At least I'm working and getting paid though, and can afford to buy parts. Very Happy Laughing
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Wayne Higgins



Joined: Aug 16, 2007
Posts: 270
Location: Greenville, FL
Audio files: 1

PostPosted: Wed Jul 23, 2008 10:41 am    Post subject: Reply with quote  Mark this post and the followings unread

Bob The Dog
Quote:
That actually sounds quite interesting!


I guess it would be if I could smoke weed at the coffe shop before work. Very Happy

_________________
http://www.virb.com/waynehiggins
http://www.myspace.com/waynehiggins
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24119
Location: The Netherlands, Enschede
Audio files: 279
G2 patch files: 320

PostPosted: Wed Jul 23, 2008 12:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

Antimon wrote:
Sorry about the other OT post, I just couldn't resist. Wink


You deserved a holiday, I'm sure.

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Acoustic Interloper



Joined: Jul 07, 2007
Posts: 2070
Location: Berks County, PA
Audio files: 89

PostPosted: Wed Jul 23, 2008 12:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
I'm trying to make sense of an ICE trace ... when the code reads the i2c clock it kills the debug output for some reason ...

Does that clock drive the debug output trace data flow, and does reading the clock affect its operation? It sounds like the clock and the debug trace share some hardware resource that the read operation is stepping on. Just a shot in the dark

I'm cleaning up some graphing code I've been writing for a DSP simulator under Eclipse. It's not bad, yesterday I got to write my first Java reflection code in a while, to save and restore a bunch of varying-type config data by just entering their field names in an array that my reflective code reads and then goes and finds them and does the save / restore. Otherwise it would be a special case for each field. It's shorter and probably less error prone than the code-copy-and-paste approach.

Interleaved with this is some testing of my EM2008 setup on my Mac, in case my Alienware XP machine dies, porting pretty much successful. And now I am going to draft a syllabus for one of the courses I'll be teaching this fall. And my stomach has been giving me some trouble since last night. And we're getting ready to go attend our son's audio school graduation up in Canada, can't wait to see him, although he'll be leaving in another month to live with his sister Out West for a year. Miss the kids . . .

_________________
When the stream is deep
my wild little dog frolics,
when shallow, she drinks.
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24119
Location: The Netherlands, Enschede
Audio files: 279
G2 patch files: 320

PostPosted: Wed Jul 23, 2008 1:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

Acoustic Interloper wrote:
It sounds like the clock and the debug trace share some hardware resource that the read operation is stepping on. Just a shot in the dark


Likely it's memory ... what happens is that debug data packets still get sent out but the length is incorrect (there are bytes missing) which is then detected by the receiver as a CRC error (the packets as such have no length info, but I do know what's being transmitted of course).

The debug message that I want does in fact read the clock to tell it's time on the debug screen, but it doesn't really matter what the contents of the debug message are. Whenever I read from or write to the i2c clock device while the packet is still partially in the serial port's xmit buffer that packet will get corrupted. Its very repeatable in that the exact manifestation of the problem will change with code changes but for given code it's always the same bytes missing.

When I make dummies for the clock access code or when I delay clock access till all the bytes are sent out the problem is gone, so it is in the clock access most likely and I did in fact change that code making it even more likely ... however ... when I comment out the debug activity I can find no memory accesses to the serial port buffer administration when running the low level clock code ... it's driving me nuts ... the ICE traces I make look OK, I see nothing odd ...

Now there is another way to loose bytes, and that's by disabling the rs232 level shifter which can be done from code (for power saving), but I didn't see such a thing on the scope sofar - and yet it should be substantial glitches the shortest one the software can make is 400 ns or so, but I'm running the port at 9600 Baud currently, so that would need something of the order of 1 ms to kill an entire byte ....

Well, at least it's not boring Laughing

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
DrJustice



Joined: Sep 13, 2004
Posts: 2114
Location: Morokulien
Audio files: 4

PostPosted: Wed Jul 23, 2008 2:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

Rykhaard wrote:
Would any of you fine coders out there, by CHANCE, know of where I could find a DIS-assembler that would understand (if I'm not mistaken in phrasing this) assembled 6809 code for the Radio Shack Color Computer??

This page has a 6809 disassembler. Here's more, and here, here, here and here are yet more. Some are Windows executables, some are just C sources and some are packages of both. Hopefully you'll find somthing usable. Never tried any of them though.

As for work, it's not boring Smile

DJ
--
Back to top
View user's profile Send private message Visit poster's website
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Wed Jul 23, 2008 8:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

I slept all day after working all night on fun hardware and software projects. I have no job, so instead I work on music projects all the time. My current project is the Guitar Motion Sensor, which will allow guitarists to control effects by gyrating around on stage. Pull up to make it squeal, get a reverb sweep by twisting your torso, etc.

Tonight I put in a 6-string guitar to 6-string bass guitar converter option. It's just a pitch shifter that shifts down to 30/82 of the original frequency and all the string open frequencies line up like magic, how about that? The math behind the music, eh? Coolness.

_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
Rykhaard



Joined: Sep 02, 2007
Posts: 1290
Location: Canada

PostPosted: Wed Jul 23, 2008 9:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

DrJustice wrote:
Rykhaard wrote:
Would any of you fine coders out there, by CHANCE, know of where I could find a DIS-assembler that would understand (if I'm not mistaken in phrasing this) assembled 6809 code for the Radio Shack Color Computer??

This page has a 6809 disassembler. Here's more, and here, here, here and here are yet more. Some are Windows executables, some are just C sources and some are packages of both. Hopefully you'll find somthing usable. Never tried any of them though.

As for work, it's not boring Smile

DJ
--


Whoa! Yet site unseen, thankee greatly!! Shall see where I can get to, from checking the site out! Smile Smile Maybe finally after 26 years of playing the game on and off (and never beating it) I'll be able to see how it all works in it's miniscule 16k of code. Shocked Very Happy
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Wed Jul 23, 2008 10:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Nice find, Dr. J. Nice to know the classics still survive.
_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 3 [69 Posts]
View unread posts
View new posts in the last week
Goto page: 1, 2, 3 Next
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Discussion » Schmooze
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use