we offer the world a view of the silliness that's been going on ;-)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@36 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-03-27 15:36:17 +00:00
parent 0d235da209
commit 79420c43d8
3 changed files with 1131 additions and 0 deletions

6
www/irc/nicks.txt Normal file
View File

@ -0,0 +1,6 @@
Zagor => Björn Stenberg
linus => Linus Nielsen Feltzing
Bagder => Daniel Stenberg
Wavey => Stuart Martin
alkorr => Alan Korr
adiamas => Robert Hak

View File

@ -0,0 +1,562 @@
**** BEGIN LOGGING AT Mon Mar 25 08:57:45 2002
--> Bagder (~daniel@217.215.72.110) has joined #rockbox
<Bagder> hey
--- adiamas has changed the topic to: hacking the Archos Jukebox http://bjorn.haxx.se/rockbox/
<adiamas> hey there...
<adiamas> i was about to call it a night and head to sleep
<adiamas> didn't expect anyone in this quick :)
<Bagder> hehe, its morning here ;-)
<adiamas> hehe i _just_ sent the email like 30 secs ago :)
<Bagder> yeps
<Bagder> hehe
<adiamas> glad to see someone saw it...
<adiamas> you located in europe...
<Bagder> yes
<adiamas> where in?
<Bagder> Sweden
<adiamas> hehe well.. your first in so.. here
--- adiamas gives channel operator status to Bagder
<Bagder> :-)
<adiamas> someone who's awake should have some control...
<Bagder> I'm Björn's brother actually
<adiamas> ahh... hehe seems he got followers pretty quickly.
<Bagder> indeed
<adiamas> and pretty varied at that... Im here in the USA.
* adiamas shrugs
<Bagder> there are 77 subscribers of the mailing list
<adiamas> wow, that was quick
<adiamas> only been 3-4 months yes?
<Bagder> yeah, since about december
<Bagder> BTW, I think making a FAQ sounds like a great idea
* adiamas smiles happily
<adiamas> im just not to sure on how technical to go on it, but i figure even something is a start
<adiamas> will you be sitting in the room most the day or you plan on logging off?
<Bagder> exactly, just start somewhere and it'll grow into place
<Bagder> I don't know
<adiamas> i really need sleep. work in 6 hours.
<adiamas> ok...
<adiamas> im going to idle till i get up for work
<adiamas> ill see you later
<Bagder> see ya
--> adiamas|sleeping (~adiamas@as5300-9.216-194-23-78.nyc.ny.metconnect.net) has joined #rockbox
--- adiamas gives channel operator status to adiamas|sleeping
<-- adiamas (~adiamas@as5300-9.216-194-23-78.nyc.ny.metconnect.net) has left #rockbox ("Client Exiting")
--- Bagder sets mode +t #rockbox
<adiamas|sleeping> what is mode +t?
<Bagder> prevent non-ops to set topic
<adiamas|sleeping> ahhh... k
<adiamas|sleeping> gotta learn that stuff...
* Bagder is an old IRC-bot author... :-)
<adiamas|sleeping> heheh i only started on irc about a year ago...
<Bagder> I stopped writing the bot many years ago...
<Bagder> first time on irc was 1993
<adiamas|sleeping> i was just getting into computers at that point
<adiamas|sleeping> i miss that old 1200 modem
<Bagder> :-)
<Bagder> now go to sleep! ;-)
<adiamas|sleeping> hehehe
<adiamas|sleeping> nite
--> wavey (~wavey@dlan1431.dircon.co.uk) has joined #rockbox
<wavey> anyone awake?
<Bagder> yeps
<wavey> coolio
<wavey> how you doing?
<Bagder> pretty good. You?
<wavey> yup
<wavey> you interested in coding for the archos then?
<Bagder> I am, and I intend to ;-)
<wavey> likewise..
<wavey> got the player or recorder?
<wavey> or both?
<Bagder> recorder, I'm Daniel who posted to the mailing list just an hour ago
<wavey> aha
<wavey> nice to meet you :)
<wavey> i mailed out a few qs to the list several weeks ago
<Bagder> name?
<wavey> stuart martin
<Bagder> right, I read them ;-)
<wavey> the archos is pretty funky, but flaky as shit
<wavey> mine's got a dodgy contact in the earphone socket
<wavey> probably going to resolder it
<Bagder> I just got mine, haven't really had time to do much yet ;-)
<wavey> i do love it
<wavey> but i just wish it had sony's build
<Bagder> I'll get the serial port hack soon and start coding it
<wavey> interesting to hear you got 8 cells..
<Bagder> Linus has a fully working gdb stub now
<wavey> yeah, very impressed to read that
<wavey> i know *no* electronics..
<wavey> i'm waiting for the low-level shit to be completed :)
<wavey> then i can start helping
<Bagder> hehe
<wavey> :)
<Bagder> I'm not *that* low-level myself, I start on assembler ;-) I can't do much electronics
<wavey> heh, assembler i'm happy with.
<wavey> working out which wire to cut, i'm not :)
<Bagder> I think that makes us on the same level more or less ;-)
<wavey> groovy
<wavey> the UI is going to be interesting
<Bagder> luckily we have those guys around us to work out those stuff
<wavey> i think we should maybe list the features we want and start prioritising them
<wavey> then start mocking up UI images
<Bagder> yeah
<wavey> should be fun working with small screen realestate
<Bagder> I would like to write some kind of UI simulator
<wavey> interesting.. go on
<Bagder> to enable us to work on UI stuff without having to bother with the actual hardware
<wavey> yup
<wavey> cool idea
<wavey> i guess we'll need to pre-empt the low level services available to the UI
<Bagder> I'm a Linux dude myself, so I'd go for a X-display
<wavey> me too
<wavey> although i find windoze usable too with enough cywin and emacs layers on top ;)
<Bagder> the UI stuff would be built-up with a minor set of graphics functions, and we could probably just replace those functions with a set that draws X instead
<wavey> is this channel logged?
<wavey> could be useful
<Bagder> I log it
<wavey> coolio
<Bagder> I think I have some basic X11-code that pops up a window and allows me to draw in it, which could be a start
<wavey> cool
<wavey> how long until it reads mail and displays webpages too? ;)
<Bagder> *g*
<Bagder> if we just get enough people to join in, there's nothing to stop us ;-)
<wavey> damn right :)
<wavey> the player/recorder screen diffs are a shame
<Bagder> yes indeed
<wavey> i wonder if project focus will be on the recorder
<wavey> or the player
<wavey> bjorn's initial investigations were on the player
<Bagder> yeps
<Bagder> but now he has both
<wavey> but he bought a recorder iirc
<wavey> yeah cool
<Bagder> and so does Linus
<wavey> cool
<Bagder> and Björn's player CPU is damaged ;-)
<wavey> heh
<Bagder> or should I say :-(
<wavey> how'd he damage the cpu?
<Bagder> the serial port is broken
<Bagder> it isn't normally used, so he hasn't noticed
<wavey> what timezone you in?
<wavey> i'm in london
<Bagder> Sweden, +1 from you
<wavey> you friends with linus and bjorn?
<wavey> or just coincidence?
<-- wavey (~wavey@dlan1431.dircon.co.uk) has left #rockbox
--> wavey (~wavey@dlan1431.dircon.co.uk) has joined #rockbox
<wavey> shit
<Bagder> yeah, Björn's my brother and Linus is an old time friend. We work at the same company
<wavey> aha :)
<Bagder> all three opf us
<wavey> i work as a j2ee consultant for a company with a swedish office
<wavey> we got some of them over here now cos the market in .se is pretty weak
<Bagder> yes it seems to be
<Bagder> I'm doing embedded/realtime programming as a consultant
<wavey> cool
<wavey> which processor?
<Bagder> right now, StrongARM
<wavey> cool
<wavey> i've only done 68K assembler but loved it
<Bagder> arm assembler in general is cool, it has conditionals on *all* instructions
<wavey> madness :)
<Bagder> hehe, yeah
<wavey> I moved into OO years ago, and wouldn't go back
<wavey> pure elegance
<wavey> (if you get it right) :)
<Bagder> hehe, so they say... :-)
<wavey> how far would you wanna see this simulator go?
<wavey> button presses triggering song launching/pausing etc?
<Bagder> it all comes down to much much we feel its worth
<wavey> aye
<wavey> i think perhaps the first stage might be to sketch UI ideas
<Bagder> we could probably make more or less a complete simulator, should we want and have the eneergy
<Bagder> yes
<wavey> and that means identifiying the key aspects
<wavey> and voting on inclusion
<wavey> or doing a bjorn and ignoring the votes :)
<Bagder> we can start on UI basics and ideas first, without even think code
<Bagder> hehe
<wavey> ok
<wavey> how about throwing that to the mail list
<wavey> give us your wants
<wavey> or perhaps we can envisage most of that already
<wavey> toggle m3u display/filename
<wavey> scrolling/non scrolling
<wavey> level meters
<wavey> time
<wavey> power
<wavey> mode
<wavey> vol
<wavey> button names
<wavey> eyecandy plugins
<Bagder> imho, we must focus on getting the basic stuff there first, to allow us to play songs as that would help the guys working on those parts (mp3, filesystem etc)
<wavey> of course
<wavey> but a basic UI is trivial
<wavey> just a button label
<Bagder> yes, that's true
<wavey> while they are developing that
<wavey> we can look to the medium term
<Bagder> right
<wavey> and of course, we need emacs ported to it :)
* Bagder grins
<wavey> i remember when i started coding for the gameboy advance people started talking about porting linux
<wavey> so so funny
<Bagder> feel free to post a summary to the list, could be useful
<wavey> but it always happens :)
<Bagder> yes it does
<Bagder> it'll happen here too soon :-)
<wavey> did you fill your 20GB capacity yet?
<wavey> i did mine in an hour and a half :)
<Bagder> heh, no, but I don't really use it yet either
<wavey> bought a usb 2 pci card
<Bagder> I stream mp3 from my home-box to work
<wavey> i haven't had mine from my side since i bought it in january
<Bagder> I've ordered a usb2 card too
<Bagder> I finally bought mine now since I was supposed to stop my project here and thus I wasn't sure I could still listen to my stream, but now I've got another assignment at the same palce so I can continue listening to it...
<wavey> heh
<wavey> typical
<Bagder> well, I want to code it anyway, so I guess that'll be my primary use for it ;-)
<wavey> i prefer to use the recorder despite being in front of a computer because it means i get more bandwidth..
<wavey> and i can get up and move around without killing the sound
<Bagder> :-)
* Bagder runs for more coffee
<wavey> i've always hated stopping music :)
<wavey> i'll leave the cd player running when i leave the house sometimes. stupid huh? :)
--> gizz (~gizz@ALyon-102-2-1-77.abo.wanadoo.fr) has joined #rockbox
<wavey> howdy
<gizz> heya !
<Bagder> g'day
<gizz> did I miss some hot talks ?? :)
<wavey> not really
<wavey> that's on #sex
* wavey chuckles
<gizz> hehe
<wavey> or perhaps #hotsex
<gizz> you => Juke hacker ?
<Bagder> we're wannabe archos hackers ;-)
<gizz> great!
<gizz> player or recorder ?
<gizz> => I'm a poor player owner,
* Bagder has a Recorder
<wavey> recorder also
<wavey> we've been discussing some ideas for the UI
<wavey> but nothing really worthy of capture yet
<gizz> ok
<gizz> problem is,
<gizz> to me player & recorder are very different
<wavey> yus
<wavey> shame
<Bagder> yes, we'll need to make two UIs as they'll be quite different
<gizz> but is it worth it ?
<gizz> I mean,
<gizz> does player owe to be supported ever ?
<wavey> well, if people here want to support it, it'll be supported..
<wavey> the underlying functions of the firmware will be mostly similar between the two
<gizz> right!
<Bagder> indeed, and except for display+keys, msot of the internals are the same
<wavey> need a UI strategy
<wavey> the recorder is likely to be supported better because it's cooler..
<wavey> (UI) anyway
<gizz> good point
<gizz> So,
<gizz> UI guys
<gizz> should make good design decision,
<gizz> in order for the to Juke-races to be supported, at least
<gizz> at low level,
<wavey> juke-races?
<gizz> races : sorts
<wavey> ok
<gizz> hmm, models.. :)
<wavey> understood :)
<gizz> .. but at UI level,
<gizz> they will be supported (very) differently,
<wavey> aye
<gizz> and of cours, recorder owners will be happier :)
<gizz> One thing :
<gizz> on my player, when pleying with custom chars (font)
<gizz> I tried to draw two bitmaps through thos custom chars,
<gizz> (as if custom chars datas where some sort of 'video memory')
<gizz> and then, I thought we could just modify this 'video memory' at will,
<gizz> to simulate some pixel screen
<gizz> but the result wasn't quite good (many pixels where too far from each other, due to space between chars)
<gizz> That's all... :)
<gizz> Did you try to draw some stuff on your recorder ?
<wavey> nope
<wavey> I compiled the player firmware on my box, but haven't tried a recorder one
<Bagder> I just got mine, I intend to get the gdb-stub approach working first
<gizz> ok; If recorder prices get lower, I think I'll move to it
<wavey> gizz: nice idea with the video memory
<gizz> vid mem : well, in all cases, that would produce an 14 * 55 screen :) (if I remember well)
<wavey> 14 pixels is pretty damn limiting :)
<Bagder> amen
<wavey> remind me what the recorder has?
<gizz> oh
<wavey> time to mock up some screens to get the juices flowing
<gizz> maybe 131 * 64 or better ??
<Bagder> 112x64
<gizz> cool resolution !!
<gizz> (slightly less than HP48 ;o)
<Bagder> can't wait to get some games going ;-)
<gizz> If only I had a recorder, I could try to port some
<gizz> nifty HP48 100% assembly games :o)
<Bagder> hehe
<gizz> (with scrolling, sprites, grey level, etc.. :)
<Bagder> it has sprites?
<gizz> Never played Columns II on HP48 ??
<gizz> sprites : yes !
<Bagder> gosh
<gizz> what about : Arkanoid, Skweeks,
<gizz> Xennon,
<gizz> or even : Doom, grey-level, with monsters, textures, and multiplayers ?
<gizz> (well, two players, with serial cable)
<Bagder> nah, let's aim for PPP over the USB and have full internet access ;-)
<gizz> LOL
<gizz> hey, I've got an idea : I'm gonna try the grey-level tricks tonight, just to see if it works :)à
<gizz> you at home, or at work ?
<Bagder> work
* gizz too :)
<Bagder> ssh'ed to home
<gizz> cool !
<gizz> => i'll back later then.. :)
<gizz> bye !
<Bagder> bye
<-- gizz has quit ("Leaving")
<wavey> damn
<wavey> missed the important bit
<wavey> sprites!
<wavey> lovely :)
<Bagder> yeah, that would be great ;-)
<wavey> i can imagine some nice visualisations coming out of this
<wavey> eyecandy is important :)
<Bagder> indeed it is
<wavey> 112x64
* wavey opens psp
<wavey> wow
<wavey> it's really really small :)
<wavey> this is going to be interesting
<wavey> are there character fonts built in to the recorder or is it purely bitmapped?
<Bagder> pure bitmaps, as I've understood it, but the font is stored as separate bitmaps
<Bagder> as the pics on http://bjorn.haxx.se/rockbox/notes.html shows
<wavey> ah yes
<wavey> the project went pretty quiet for a while
<wavey> forgot the basics
<Bagder> yeah, after the initial burst there has been some silence and hard work at the side
<wavey> so
<Bagder> intial, still very basic, ui-simulator seems to work
<wavey> hey nice
<Bagder> pops up window, can draw in it etc
<wavey> lovely
<wavey> is it worth trying to identify key functional areas, and see how they lead to a UI requirement?
<wavey> 1. start playing
<wavey> 2. pause playing
<wavey> 3. stop playing
<wavey> 4. increase volume
<wavey> 5 decrease volume
<wavey> are these the fundamental ones?
<wavey> playlist etc extend this
<Bagder> yes they're the basics
<Bagder> without them, there is no player
<wavey> ok, playlist operations are another
<wavey> and file operations are another
<wavey> level meters
<wavey> balance control
<wavey> timekeeping
<wavey> playlist on the recorder firmware is simple
<wavey> add to playlist
<wavey> play list
<wavey> play list randomly
<wavey> delete from list
<wavey> next in list
<wavey> back in list
<Bagder> hey, I haven't understood how the playlist works yet ;-)
<wavey> i figured :)
<wavey> hence the recap :)
<wavey> how much was your recorder?
<Bagder> I'm not sure... I had a friend order it for me
<wavey> point 1) above assumes a file can be identified from the hdd
<wavey> which kinda presupposes some file operations are needed at the start
<wavey> i.e. browse
<Bagder> right, filesystem support is essential
<wavey> shall we propose 2 main UI iterations, with the first being 1-5 above + browse filesystem
<wavey> and the 2nd being the one with the extra fluff like balance control, timekeeping etc?
<Bagder> sounds wise, yes
<wavey> do you have your recorder with you now?
<Bagder> no
<wavey> the level meters take up 1/4 of the screen!
<wavey> ridiculous
<wavey> i mean, who cares?
<Bagder> they're quite silly, I agree
<wavey> and the three timers are silly
* Bagder tries to get Björn here
--> Zagor (~bjst@labb.contactor.se) has joined #rockbox
<Bagder> there he is ;-)
<wavey> hey bjorn
<wavey> nice to meet you
<Zagor> hey there guys
<wavey> i'm sure daniel's filled you in on our discussions so far
<wavey> trying to identify a) the minimum UI
<Zagor> ah, no not really
<wavey> to enable testing of firmware code
<wavey> and b) a candidate full-featured UI
<wavey> with bells and whistles
<wavey> a) needs file browsing support, plus play/pause/stop file + volume control
<wavey> b) has playlist control, m3u display, balance control, etc
<Bagder> so Zagor, you ok with me creating a subdir in CVS and importing my initial X11 UI stuff?
<wavey> and a funky lil' gui
<Zagor> bagder: sure. maybe something called 'simulator' or similar, to clearly show it's not the "real" code
<Bagder> righ, I'll go for simulator
<wavey> i'd be more explicit
<Zagor> well, my first thought when i threw this item on Daniel was,
<wavey> from experience, naming becomes important in directory structures
<Zagor> that it'd be a good thing if we can have the basic menu system the same for the two models
<Zagor> not so much the graphic bits, more the underlying framework
<wavey> sure
<wavey> sensible
<Bagder> ok, so 'uisimulator' then ;-)
<wavey> sounds great to me
<Zagor> (note: i'm at work, so I'll be idle from now and then)
<wavey> likewise
<wavey> in london
<Bagder> ah, you guys work at work? :-]
<Zagor> sometimes :)
<Bagder> Zagor: with gaim, how the heck do I create an account?
<Zagor> hmm
<Zagor> i don't know :-)
<Zagor> didn't you have an account before?
<Bagder> me neither, it just asks for a name and password
<Bagder> I used icq ages ago, yes I had an account but only god knows which name and password I used then
<Zagor> you need to specify that you are using the 'oscar' protocol, otherwise it will try to log you on as an AIM account
<Zagor> ok
<Bagder> ah, I need to go and do it on a web page...
<wavey> i like the ascii rockbox logo, bagder
<Zagor> that'll probably be easiest, yes
<Bagder> figlet is cool ;-)
<Zagor> yeah, it's cool!
<wavey> figlet rocks :)
<Zagor> so, did you come up with some ideas about the GUI?
<wavey> some
<wavey> nothing graphical
<wavey> functional requirements
<wavey> and no real thought to the player/recorder split
<wavey> except that the player's size is very limiting
<Zagor> yes, indeed
<wavey> and i'd like to see some visualisation eyecandy
<Zagor> i nice big on-screen Archos would be cool :-)
<wavey> you mean a floating logo?
<Zagor> no i was thinking the simulated gui
<wavey> or a representation of the player itself
<Zagor> yes
<wavey> ah yes
<wavey> is the simulator going to simulate the screen or the player as a whole?
<wavey> and isn't that an emulator? ;)
<Bagder> I think we start with only the screen
<Bagder> and then we'll see if we're up to making it a complete emulator
<Zagor> yes
<wavey> i'll leave the sh1 emulation to others :)
<Zagor> hehe
<Bagder> I've imported the uisimulator code to CVS now
<wavey> gizz was talking about the chip being able to support sprites :)
<wavey> and porting games to it :)
<Zagor> hehe
<Bagder> actually, he said the HP48 had them
<Zagor> grand plans!
<wavey> my recorder is only 3 months old but i think tetris would kill the plasticy buttons on it
<wavey> bad: ah!
<wavey> that's a shame
<wavey> but not really suprising :)
<wavey> i'd be happy with no games but a firmware that didn't suck ass
<Bagder> did anyone make a C array of the fonts for the Recorder?
<Bagder> Zagor ?
<Zagor> not that i know
<Bagder> kind of boring work... :-)
<wavey> can't you extract the data from existing firmware as a linear array?
<wavey> or is that copyrighted
<wavey> i guess it is
<Bagder> yes it is
<wavey> but who could tell? :)
<Zagor> well we don't really need those exact fonts
<Zagor> there are tons of good fonts out there
<wavey> agreed
<wavey> but not at 5x7
<Zagor> maybe not tons, but a few at least
<Zagor> linus had some ideas, but he's not here right now
<wavey> excellent work he did with the gdb integration
<Zagor> yeah, very nice
<Bagder> that'll be *so* handy
<Zagor> he plans to write a program loader too, so we can select firmware at start. that'll be nice too.
<Zagor> he's a cool guy :)
<wavey> very nice
<Bagder> hahah, just don't tell him that ;-)
<Zagor> i wouldn't dream of it ;*)
<Zagor> btw, i think we should aim for proportional fonts on the recorder
<Zagor> there's too little room to waste it on blanks :)
<wavey> if we do it properly, we can have it as a user option
<Zagor> yes
<wavey> as a user, i'd rather have the entire display taken up with the song details, rather than the stupid level meters
<wavey> but hopefully we can cater to all tastes via options
<Zagor> yes. open season on level meters...
<wavey> especially ones that take up a quarter of the screen!
<Zagor> bagder, do you have code for font handling? i have written some if you need it.
<Bagder> I need it
<Bagder> I only have the XDrawString() but it isn't what we want ;-)
<Zagor> ok, i'll mail it to you
<Bagder> did anyone write code that draws stuff on the recorder?
<Zagor> yes, look on the rockbox front page
<Zagor> there's a link in the news swction
<Bagder> found it
<Bagder> he has a font table in there...
<Zagor> ah
<Bagder> this code is quite good
<Zagor> bagder: look at drawText() in the code I sent you. it's the relevant portion
<Bagder> this works with the included font, right?
<Zagor> yes
<Bagder> well, if we have a font defined, making it output proportional won't be hard
<Zagor> no
<Zagor> my point exactly :)
<Bagder> the trickiest part is probably to make it look the same on Linux ;-)
<Zagor> really? can't you just allocate a bitmap and pixel-write to it?
<Bagder> probably, I'm just not very good at those X-calls. I'll need to chase around a bit
<Zagor> chase around? well, that's what we're here for, innit? ;)
<Bagder> I'm not complaining, I'm only saying how it looks ;-)
<wavey> isn't raw X wrapped by gnome or something these days if you want to make it easier?
<Zagor> yeah
<Bagder> perhaps
<Bagder> I'm not sure it makes things easier at this point
<Bagder> we already pop up a window and we can draw in it
<wavey> true
<Bagder> besides, not using gtk or qt makes our program even more portable
<Bagder> not that it matters very much of course
<wavey> what's the main purpose of the ui simulator?
<wavey> to see how things look?
<Bagder> yes
<Bagder> if we make generic input functions we can drive it too
<Bagder> to try the feel too
<wavey> i'm not expressing myself clearly, i fear
<wavey> um
<wavey> does it give you more than mock ups would?
<wavey> does it give you any real code for the archos itself?
<Bagder> yes, it will
<Zagor> that's the idea
<wavey> ok cool
<wavey> just getting it clear
<Bagder> maybe not just now, but that's the purpose of it all
<wavey> cool
<wavey> coffee time
<wavey> bbl
<Bagder> sigh, our coke machine is empty...
<Zagor> bagder: where are you now? Neti, con?
<Bagder> neti
<Zagor> ok
<Bagder> they did buy my extra 300 hours, so I'm gonna be here for a while more...
<Zagor> ok
<Zagor> lucky you... ;-P
<Bagder> haha
<Bagder> at least I'm gonna be working entirely on linux this time
<Zagor> ok, that's nice
--- Bagder gives channel operator status to Zagor
<Bagder> gotta go
<Bagder> see ya
<Zagor> ok, bye
**** ENDING LOGGING AT Mon Mar 25 16:50:01 2002

View File

@ -0,0 +1,563 @@
**** BEGIN LOGGING AT Wed Mar 27 08:23:32 2002
--> Bagder (~daniel@as3-3-2.ras.s.bonet.se) has joined #rockbox
--- Topic for #rockbox is rock the box http://bjorn.haxx.se/rockbox/
--- Topic for #rockbox set by adiamas at Tue Mar 26 09:53:55
<Bagder> hey
<adiamas> welcome back
--- adiamas gives channel operator status to Bagder
<Bagder> thanks ;-)
<Bagder> we had quite a gathering here yesterday
<Bagder> as your logs might have shown
<adiamas> heheh let me scroll and see ;)
<adiamas> seems like it...
<adiamas> i wanted to play with the uisimulator on my home machine... but having issues...
<adiamas> seems that rh7.1 doesn't install the X11 headers for somereason.
<Bagder> :-(
<Bagder> btw, you should get the latest uisimulator sources
<Bagder> I updated them all day yesterday
<adiamas> yeah.. grabbed it this afternoon at work...
<Bagder> ah, ok
<adiamas> pops up a little black window..
<adiamas> white boarder with text?
<Bagder> yes
<adiamas> nods
<adiamas> i gotta take time to read the source.. no time at work...
<Bagder> most of the lcd-code is generic as it works on a buffer
<Bagder> the lcd_update() reads the buffer and makes X11-calls to draw in the window
<adiamas> damn it.. think i may have to download the neweest x
<Bagder> ouch, that's a *lot*
<Bagder> isn't there any rh7.1 rpm with x11 headers?
<adiamas> i don't know rpms all that well :(
<adiamas> i pulled out the source from the source cd.. but not sure wtf im looking at...
<adiamas> so im playing with diff ideas
--> wavey (~wavey@dlan1431.dircon.co.uk) has joined #rockbox
<Bagder> morning wavey
<wavey> hiya bagder
<wavey> i keep reading your name as badger
<wavey> is there a meaning behind bagder?
<Bagder> hehe, I don't hold that against you ;-)
--- adiamas gives channel operator status to wavey
<Bagder> once upon the time..
<Bagder> back in.. 1987
<Bagder> I was about to pick myself a nick name
<Bagder> and this is what it turned out to be ;-)
<wavey> heh
<Bagder> I've stuck with it since
<wavey> same here, but it was 1991
<wavey> i was asked to give a name for a MUD
<wavey> and this one came out of nowhere
<wavey> and it stuck
<Bagder> I actually *did* intend to spell it badger
<Bagder> but I was a bad reader or writer or something ;-)
<wavey> heh excellent
<Bagder> then I thought the dyslexic style was kinda fun
<wavey> should reduce the number of nick collisions, etc :)
<Bagder> yeps
<wavey> except on #dyslexic-animals
<Bagder> bwahaha
<adiamas> okay.. are you guys familar with rpms?
<Bagder> somewhat
* wavey is more of a debian man, but go on
<adiamas> well.. i don't ever use them...
<adiamas> im a jedi, i use the source luke
<wavey> heh
<adiamas> anyways... i have like 20 rpms for various forms of X11.. all i want are the friggin headers since rh7.1 didn't install witht hem...
<adiamas> is there and easy way to get at them?
<Bagder> isn't there like a x11-devel package or something?
<adiamas> and an easier question ;) when charging your players.. have you run the batteries all the way down? and if so, how long did it take charging for you before it held the charge?
<wavey> you can unpack an rpm without installing it to get files out, yes
<wavey> and i've run the batteries down a few times
<wavey> but never in one continuous go
<wavey> and i always charge overnight
<wavey> or even continuously
<wavey> so dunno
<adiamas> nods
<adiamas> it seems like its taking forever for this to take a charge again...
<Bagder> me neither, I haven't even had mine a week yet
<adiamas> and yeah.. theres a dev version...
<adiamas> but 7.1 is so bitch slapped i think im just going to pick up a new distro tomorrow...
<adiamas> think i might borrow a buds suse...
<adiamas> 7.1 shipped with a dev snap shot of gcc that was fucked.
<wavey> isn't 7.x really old?
<wavey> i haven't looked at rh for yearsa
<Bagder> 7.2 is the most recent, there's a 7.3 beta available
<wavey> ok, my bad
<adiamas> yeah...
<adiamas> but im starting to really dislike the rh distro...
<adiamas> Bagder: what distro are you runnin?
<Bagder> rh 6.1 I believe, patched and upgraded beyond recognition ;-)
--> Zagor (~bjst@labb.contactor.se) has joined #rockbox
<wavey> ad: how long is 'forever'? to take a charge?
<Bagder> hej Zagor
<Zagor> morning
<wavey> morning
<Bagder> Zagor: I feel a need for some source code organization from you ;-)
<Zagor> bagder, don't put those dir in the root. make a 'firmware' top dir to put them in
<adiamas> morning...
<Bagder> you mean uisimulator root?
<Zagor> no, the ones you mailed about. the target code.
<adiamas> wavey im looking at hmmm.. i was home by 23:30 est, and it's now 3:30 est
<Zagor> uisimulator is fine in the root, i think
<adiamas> so 4 hrs?
<Bagder> ah, right I didn't intend to put them in the root
<Zagor> ok, good
<adiamas> but i _really_ drained the batteries.
<Bagder> I thought of having a 'rockbox' module, as a name for the firmware
<Zagor> maybe a bit too general?
<Bagder> Zagor: but I was actually thinking of leaving that task to you ;-)
<Zagor> ah :)
<Bagder> as head of the team
<Bagder> I'm getting confused of all the various source code archives now ;-)
<Zagor> hehe
* adiamas pokes zagor
<adiamas> so.. should i antagonize you about getting added to source forge team?
* adiamas grins wildly
<Zagor> hmm, did you send me your sourceforge user name?
<adiamas> nods
<adiamas> same one as here "adiamas"
<Zagor> ok. sorry, i must have missed it. i'll add you right away
<adiamas> and should we call this room "everyone gets op status bu Tumm"?
--- Bagder gives channel operator status to Zagor
<adiamas> hehe no prob..
<adiamas> just want to post ver. 1 of FAQ
<adiamas> its really basic and typo ridden.
<adiamas> i can't spell for crap.
<Zagor> no problem
<adiamas> but i figure once your happy, you post it where you see fit.
<Zagor> yup
<adiamas> Bagder btw.. when i was looking at the code for uisim, something odd...
<adiamas> the first function in screenhack.c, merge_options...
<adiamas> i was playing with the structs, just to test something we've been doing at work
<adiamas> you do a memcpy, and i was playing with structure copies... they are a bit faster, but when i did it the size of the displyed box (not the white box, the surrounding box) tripled...
<Bagder> as the header of that file explains, it's been ripped-out from xscreensaver
<adiamas> any idea why?
<Bagder> no I don't, I'm not that well aquinted with those functions
<adiamas> hehehe k... ill go back then... was just the first thing i played with.
<Zagor> adiamas: you
<Zagor> are added now
<adiamas> ?
<adiamas> sweet.
<Zagor> "Doc Writer" :-)
<Bagder> Zagor: suggestion for a new page: cvs info, that sourceforge one is too hard to find and too generic
<Zagor> good point
<Zagor> i'll see if i can fix all the cvs issues today
<Zagor> including putting the web page in cvs
<adiamas> hehe Doc Writer works for me till i get my <insert profane insult here> box working better.
<Bagder> that would be really neat
<Zagor> tumm, who are you? i haven't seen you before.
<Bagder> I think he's asleep
<Zagor> ok
<Zagor> well, the more the merrier :)
<Bagder> Gary sure is one active guy
<Zagor> yeah
<Zagor> we have attracted a wonderfully productive crowd!
<Bagder> indeed
<Zagor> maybe i'm the exception. i spent last night playing cstrike :*)
<Bagder> we might consider putting named people in charge of various sub modules
<Bagder> haha
<Bagder> I got some really stupid problems with my Archos mounted filesystem yesterday
<Zagor> ok?
<adiamas> what problems?
<Bagder> when cp -r'ing
<Bagder> it failed, saying that the filesystem is read-only
<Zagor> whoa!
<Bagder> several times
<Zagor> sounds bad
<Bagder> I umunted and re-mounted and I could do it again
<Zagor> did you have usb-storage debug on?
<Bagder> no
<Bagder> it copies maybe a hundred files before it bails out
<adiamas> ive actually had that...
<adiamas> but it happened when i was in win, not linux... :(
<Zagor> hmmm, i can't remember how much i've copied to the recorder
<adiamas> thats when i got that corrupted file.
<Bagder> this is a 2.4.18 kernel
<adiamas> i did 500+ files today in one shot
<adiamas> hmmm same here.
<Zagor> i have a 2.4.17
<Zagor> but i only use ehci (usb 2.0) since i got it
<Bagder> my card arrived yesterday (at Contactor) so I'm soon gonna be there too ;-)
<Zagor> it's schweet! :)
<wavey> i xferred 32 cds of mp3 to my recorder in 1 1/2 hours with usb2
<wavey> that's 3500 songs
<wavey> 350 cd
<wavey> fuckin' a.
<Bagder> :-)
<adiamas> small house keeping question, cause im anal... umm... logging, will we be relying on printf to the screen, or an actual log file?
<Bagder> in uisimulator you mean?
<adiamas> cause i see you have a Logf() in uibasic.c
<adiamas> nods
<adiamas> kinda pointless to keep a log on the player ;)
<Bagder> my original intent was to use the log function
<Bagder> but then I lost my dicipline ;-)
<Bagder> also, some of the printf() things are placed in "actual" code, and we need to define how to deal with that
<adiamas> hehe well.. for what its worth... dicipline may be what we want to set this early :) its gonna be a pain in the arse to break habits later :)
<Bagder> on a global basis
<Bagder> you're right
<adiamas> i have a suggestion on that
<adiamas> something that seemed to work for me...
<adiamas> since we are doing "functionname(char *format, ...)
<adiamas> we just #define the function name, use that... then when/if you want to tear it out its a bit easier
<Zagor> i don't get it. what's the gain?
<adiamas> nothing significant.. i was just refering ot the "actual" code bit...
<Zagor> oh
<adiamas> doing dev, having it there is fine, but if you want to bring it o the player you want and easy way to remove it.
<Bagder> a #define macro can't use a variable amount of parameters, in ansi
<adiamas> and config files are out of the question in this case.
<adiamas> thats not what i mean...
<adiamas> i mean: #define PRINTFUNC printf
<Bagder> aha
<adiamas> then just: PRINTFUNC("%s", "we are cool")
<adiamas> then you want to turn it off, then you just have PRINTFUNC point to an empty funciton
<adiamas> *poof*, no more output
<Bagder> but that still makes calls to code
<adiamas> nah, optimized out
<Bagder> only if in the same source
<Zagor> #define PRINTFUNC //
<Zagor> :)
<Bagder> hehe
<adiamas> yeah...
<adiamas> heheh
<Zagor> ugly, i know
<Bagder> that's a bit "brual" ;-)
<adiamas> i like that better :)
<adiamas> brual?
<Bagder> why not just PRINTF(("%s", "rockboxk")); ?
<Bagder> then you can #define PRINTF
<Bagder> completely
<Zagor> it gives really weird errors if you do a multi-line PRINTFUNC call
<adiamas> i don't get it.
<Bagder> #define PRINT printf x
<adiamas> oh, got ya
<adiamas> honestly, id just have issues with that on a readablity level
<adiamas> but thats just me
<Bagder> I have no strong feelings about either way really
<Bagder> we should define a single way to do it, and stick with it
* adiamas defers all decision making to you european types ;)
<adiamas> that i agree with...
<adiamas> and please please please, someone post preferences on how code is to be indented/spaced etc...
<adiamas> i get enough of 19 diff ppls ideas of formating at work...
<wavey> code layout is so unimportant
<adiamas> be nice to have something everyone is expected to stick with.
<wavey> as long as it's readable
<wavey> and runnable
<Bagder> we could have a "prefered" style, but allow stubborn people to use their own
<adiamas> readable is the problem.
<adiamas> nods.. thats what i ment.
<wavey> readable is common sense
<adiamas> i dont mean we take a LART to someone for putting a { on the wrong line.
<wavey> and no two people agree on styles
<Bagder> true
* adiamas thinks wavey hasn't seen what passes for 'readable' in his office
<Bagder> heheh
<wavey> and code beautifiers can be built into a makefile
<Bagder> beautifiers are no good for versioning
* adiamas watches cvs explode
<wavey> no, you beautify locally
<Bagder> right
<wavey> according to how you like code
<wavey> and you can do a 'standard' beautify before the check-in
<wavey> if these things matter to you
<wavey> cvs sucks ass, anyhow
<Bagder> it's the best we have...
<adiamas> how do you do a standard beautify before check in? rely on the person remembering?
<wavey> i don't like non-exclusive versioning systems
<adiamas> define non-exclusive?
<wavey> adiamas incorporate it into the makefile
<Bagder> wavey: when doing global development, that's the only thing that works
<wavey> make checkin
<adiamas> nods
<wavey> bag: alas, yes
<adiamas> thought so.. tired, so checking :)
<wavey> non-exclusive == if i have it checked out, you can't touch it
<Zagor> wavey: i wouldn't want to admin a global project with exclusive checkout... :)
<wavey> zag: depends on the numbers, not the geographical distribution.. ;)
<Zagor> correct
<Bagder> I don't think the problem with CVS is the non-exclusiveness
--> alkorr (jbcoax@srs07v-1-85.n.club-internet.fr) has joined #rockbox
<wavey> hey alan
<alkorr> hi
<alkorr> well i'm planning to do an ARCHOS.MOD as a loader for a not scrambled rockbox.bin binary
* Bagder needs more coffee
<wavey> cvs will work fine for us - and i'm not ungrateful for sourceforge providing it..
--> linus (~linus@labb.contactor.se) has joined #rockbox
<wavey> hey linus
<linus> Yo!
<alkorr> yo Linus
<linus> I just dug up my FAT code. It isn't that much really. It was originally intended to be a general FAT12/16/32 driver, with emphasis on FAT16. It was for another project.
<linus> It is only working in a simulated environment, in Linux.
<alkorr> yes, ok I retrieve some of my FAT32 source but a little bit old compared with the last I've lost
<alkorr> so it could be interresting to merge
<linus> Yup. I'll give it to Björn, and he will upload it to the web site.
<Bagder> hey linus
<linus> hey Bagder
<alkorr> well tell me if you are okay for what follows :
<alkorr> - only FAT32
<alkorr> - filesystem directly use ATA, no generic device
<alkorr> - ATA only handle primary controller and the master device (our HD)
<alkorr> are you okay with that ?
<alkorr> or do you want something else ?
<Bagder> I believe in incremental development
<Bagder> anything is fine
<Bagder> we improve it later if need be
<linus> It's perfectly OK. There's no need to develop any code that we won't use. I was planning to rip out the FAT12/16 stuff anyway, since the project it was intended for died.
<alkorr> must we handle only one partition ?
<linus> I don't see a problem handling several partitions, but let's start with only one primary partition.
<alkorr> ok
<alkorr> it is not a problem for me, it's just some code to add for having them
<alkorr> the only problem is how the user will see all the partition on his/her JB
<linus> That's why we should wait with that feature.
<alkorr> ok
<alkorr> i'm not sure about that, but did you know for people who have a recent JBR if their hd have a MBR or a direct FAT32 (true removable hd)
<alkorr> ?
<linus> I have no idea.
<Bagder> then you have to add that feature
<Bagder> we can't know all at once anyway
<alkorr> the old JBP and JBR cannot read direct FAT32 because of their old firmware
<alkorr> badger ? your hd on you JBR is the original ?
<linus> I'm not sure I follow you. What is "direct FAT32"?
<Bagder> yes
<Bagder> I just got mine
<alkorr> can you have a look on the first sector to see its signature, a MBR or a FAT32 ?
<alkorr> unless you did format it
<Bagder> what tool can show the first sector like that?
<linus> My Recorder HD had one primary FAT32 partionaccording to FDISK, before I reformatted it... :-(
<alkorr> mc
<Bagder> ok, I'll try to remember to do that tonight
<alkorr> linus : a normal hd has a MBR with a partition table
* adiamas growls at CVS
<alkorr> mc, look for /dev/sda, press F3, switch to hexa mode, that's all
<linus> FDISK seemed to recognize a partition table when I put the recorder HD in my laptop yesterday.
<Bagder> alkorr: will do, I don't have access to it now
<alkorr> linus : a removable disk can have no MBR, i.e, it has no partition at all. Instead, it has a FAT32 boot sector at the very first physical sector
<linus> I just gave the FAT code to Björn. Be aware, it is undocumented, and implemented straight from the Microsoft specification, so it is in no way optimized. It cad create empty files and directories.
<alkorr> Badger : yes I know, I just gave you the instructions to check
<Bagder> ok
* Bagder logs everything said here, saves him from taking notes ;-)
<alkorr> :)
<alkorr> linus : no problem :), Windows can read that kind of removable hd
<alkorr> linus : but old firmware don't know that
<alkorr> for those who used Windows 98 SE, it is very complicated to format
<alkorr> because you need to put the hd as removable to access it, but not removable to format it :/
<alkorr> Björn ? how must I do to take Linus'source ?
<Zagor> wait :)
<alkorr> oh okay :)
<linus> Interesting. I just did that yesterday. I attached the redorder with an empty HD and partitioned it using FDISK. Was that the wrong way to do it?
<alkorr> are you interested with a simple ARCHOS.MOD as a loader for our rockbox.bin which wouldn't need to be scrambled ?
<alkorr> linus : an empty hd ?
<alkorr> linus : via USB or a ATA converter cable ?
<Zagor> alan: http://bjorn.haxx.se/rockbox/tmp/fat.tar
<linus> Well, brand new HD, via USB.
<alkorr> okay
<alkorr> it's strange, because Windows can only reckonize USB disk as logical disk...
<alkorr> at least it is what happens when I use WinHex...
<linus> So you mean that FDISK shouldn't be able to access the partition table of the Recorder?
<alkorr> DOS Fdisk ? Windows FDISK ?
<alkorr> or linux fdisk ?
<alkorr> a logical disk is a partition
<alkorr> a physical disk is the entire hd
<alkorr> with WinHex i cannot access USB disk as physical disk, So i cannot retrieve the MBR for USB disk, even I know it exists
<linus> Sorry. I ran FDISK in a DOS windows in Win98SE
<alkorr> was it an Archos disk using the chipset ISD200 ?
<linus> I created a primary partition (man those "integrity checks" tokk some time...) and then formatted it in Explorer.
<linus> I would have done it in Linux if it hadn't hung badly when I connected the Recorder... :-(
<adiamas> hmmmmm
<alkorr> So your BIOS is able to read the recorder HD !? i thought ISD200 was not totally compliant with USB Mass Storage
<adiamas> i had that issue today to...
<adiamas> matter of fact..
<adiamas> my recorder battery died.. caused linux to hang so bad i had to hard reboot
<linus> Alan: remember. The Recorder is an ISD300 device.
<alkorr> oh yes !!!!
<alkorr> okay i'm speaking about ISD200 !!!
<linus> Now we're talking. I had to use Linux when I did the same thing with my Player.
<alkorr> okay okay you don't even need a driver for Windows with ISD300 i suppose
<adiamas> okay.. sorry all you european studs you.. but this american needs sleep..
<adiamas> see you in a few
adiamas alkorr <Bagder> night adiamas
--- adiamas is now known as adiamas|sleeping
<linus> I really don't know. When I connected my Recorder the first time, Windows asked for a driver disk, and I inserted the CD that came with the Recorder.
<alkorr> Zagor ? what do you think about ?
<alkorr> well, if your DOS is able to access your recorder, that means your BIOS has capability to see USB hd (i.e, those which are really compliant with USB Mass Storage)
<alkorr> Maybe if you don't give the CD, Windows will find another driver in its database
<alkorr> maybe maybe
<alkorr> anyway it is good for you not to be blocked :)
* Zagor thinks windows wants drivers for everything...
<alkorr> linus : i'm looking at your work
<alkorr> your fat entry cache is one sector ?
<linus> Nope. It is as many sectors as you need.
<alkorr> the reason why you use a malloc...
<linus> Actually it's 256 sectors. Look at line 71.
<alkorr> ok
<linus> As you see, a lot can be removed, since we don't intend to support FAT16. And in many places, I only have support for FAT12/16. We have work to do.
<alkorr> lfn ?
<alkorr> i must leave you. CU
<-- alkorr has quit ()
<wavey> can we get the logs of this channel sent to the website?
<wavey> they're very interesting
<wavey> any many people would be interested
<Zagor> good idea
<Bagder> I can collect my logs so far
<linus> Daniel! Don't press DELE*...
<linus> Off for lunch. CU in a few.
<Zagor> same here
--- Tumm is now known as coyote
<Bagder> he's alive! ;-)
<wavey> if uncommunicative ;)
--> alkorr (jbcoax@srs04m-8-243.n.club-internet.fr) has joined #rockbox
<alkorr> re-hi
<Bagder> alkorr: what's your surname? I'm typing up a little nick => real name list for posting the logs
<alkorr> i've no nickname. Alkorr is not enough ?
<wavey> alan korr, i think, yes?
<Bagder> people might want to know the real name, who's behind the nick
<alkorr> Alan Korr, my nickmane : Alkorr
<Bagder> ok, thanks
<alkorr> Alan Korr
<alkorr> just a question for Linus : did my rockbox work with serial ?
<Bagder> he's away, eating
<alkorr> right
<Bagder> now, as soon as Björn has made the web updated vis CVS, I can just add the log there ;-)
<Bagder> s/vis/via
<alkorr> arf :)
<alkorr> you'r a fan of GREP ;)
<alkorr> okay i'll be here in one or two hours
<alkorr> good lunch
<-- alkorr has quit ()
<-- coyote has quit (zahn.openprojects.net irc.openprojects.net)
--> coyote (coyote@dreamhosted.borlange.se) has joined #rockbox
<Zagor> hey, coyote
<Bagder> Zagor: how's the www cvs going?
<Zagor> it's just about ready
<Zagor> i'm just reorganising a few things. the scramble tools, for instance, gets a cvs dir of their own
<Zagor> also, I need to fix something about the load balancer
<Zagor> which of .html and .cgi has priority by default in apache?
<Bagder> I think it checks them in the order used in the config
<Bagder> index.cgi vs index.html that is
<Zagor> yeah. but that's not what I want to head :-)
<Zagor> hear
<Zagor> ok, so we'll have to remove index.cgi in the cron job on sourceforge.net. not a problem
<Bagder> or, you can just don't add it to cvs
<Zagor> yup. but i wanted it in cvs, so it's already there
<Bagder> :-)
<Bagder> btw, we could also use a new mailing list for cvs commits
<Bagder> its a great way to keep up with development
<Zagor> yes
<Bagder> if you name a directory within www, I could put yesterday's irc log there :-)
<-- wavey has quit (Read error: 110 (Connection timed out))
--> alkorr (jbcoax@srs06m-7-196.n.club-internet.fr) has joined #rockbox
<alkorr> linus : are you here ?
<linus> Helooooo!
<alkorr> hi linus
<Zagor> bagder: 'irc' sounds good to me
<linus> I'm sitting with your code trying to get it to run on my jukebox
<Zagor> we'll make an index page with info about server/channel, and then links to the logs
<alkorr> okay, if you have some questions, don't fear to ask
<linus> UIE6A at 900014be
<alkorr> you caught an exception ?
<linus> Yup.
<Bagder> Zagor: I added the dir and put the log there just now
<alkorr> exception 106 : TXI1
<Zagor> ok
<Bagder> Zagor: there's a short nick => real name list at the top of the log, it could probably be put on the main page too
<Zagor> ok
<alkorr> is abnormal, you shouldn't get it because I don't use interrupt when transmitting
<linus> You might have turned it on by mistake, since you do use it for receiving.
<alkorr> SH1 tries to call an interrupt TXI1 but as i don't code an interupt TXI1, it defaults to a UIE
<alkorr> yes but it's strange, because I never caught this interrupt
<alkorr> let me have a look on SH1 hardware manual
<alkorr> SCI1SCR is set to 0x70, which means only RIE,TE and RE is set
<alkorr> RIE = Receive Interrupt Enable
<linus> Yeah, I saw that too...
<alkorr> TE = Transmit Enable (nothing to do with interrupt)
<alkorr> etc.
<linus> By the way, you never called serial_setup() in the code you sent me.
<alkorr> yes because I did in setup ()
<alkorr> setup () contains all the initial setup for most ports
<alkorr> included SCI1
<alkorr> setup is in main.c
<linus> Now I see. Why do you do that instead of using serial_setup()?
<alkorr> well serial_setup was just an extra in case we need it elsewhere
<Zagor> bagder: doesn't "cvs update" make new dirs?
<Zagor> i just updated the sf page, and didn't get the irc dir
<Bagder> no, make a habit of using "up -dP"
<alkorr> I prefer concentrate all initialisation in one setup () with direct access on port for a smaller code
<Zagor> ah
<Bagder> -d for make dir, -P for delete removed files
<alkorr> quite now i never use serial_setup (a old code)
<linus> I understand. I have another opinion, but never mind. Let's find out whywe get that interrupt...
<alkorr> my intention is to have the smallest code possible for the final rockbox so we can have the largest space for buffer
<alkorr> a choice to do
<linus> Good idea
<Bagder> me like inlined functions then, best of both worlds
<alkorr> so, without changing my code, you caught this interrupt ?
<alkorr> that's true, Badger, i should try do so too to check i didn't lose space that way
<Zagor> btw, alan. he's "bagder", not "badger". it
<alkorr> sorry :)
<Zagor> 's an old story :)
<Bagder> it proves he's not using tab completion ;-)
<Zagor> haha
<alkorr> Bagder, are you sure ?
<alkorr> :)
<Bagder> that would be french tab complettion then :-)
<Zagor> tab completion to a dictionary, perhaps ;)
<alkorr> yes i forget this capability :)
<alkorr> very practical indeed
<alkorr> ok, linus, can you tell if you made a change before catching this interrupt ?
<alkorr> linus, add a new interrupt in serial.c
<alkorr> or let me change my serial.c and i will send it to you
<linus> Alan, I removed my extra call to serial_setup(). Now I get "OK WORKING", but no serial communication seems to work
<alkorr> ok, it looks as if my software is no good
<alkorr> if only i could remember what i did to make it work before my hd crashing :(
<linus> I'll look into it. Hang on.
<alkorr> linus : we must check if REI1 is called
<alkorr> add : " }
<alkorr> add : "lcd_goto (0,0); lcd_puthex (QI(SCISSR1),2);" in REI1
<alkorr> it will display in hexa the byte read for Serial Status Register (overrun,frame or parity error)
<Bagder> Zagor: you should add Gary to the activity table
<Zagor> ok
<alkorr> oh wait, and if PB10 and PB11 is not set as serial pins in setup () ? i'm checking them
<Zagor> bagder: ui simulator?
<Bagder> lcd code and ui sim for windows at least
<Zagor> ok
<Zagor> did rob ever put his faq anywhere?
<Bagder> I don't think so
<alkorr> Linus, check for BAUDRATE and PHY at the begining of system.h
<linus> 12MHz and 9600
<alkorr> 9600 is okay for you ?
<linus> Yup.
<alkorr> well, when there is no serial jack pllugged on my JBP, it displays "OK WORKING!"
<alkorr> the same thing when pluged but nothing in my serial terminal
<linus> Are you sure that you don't loop the serial data in your PC?
<alkorr> what do you mean by looping ?
<linus> Echoing
<alkorr> i echo what I get not what i put
<alkorr> I = sh1
<alkorr> there is no echo from the PC side
<linus> Got it!
<alkorr> so ?
<linus> You have to insert a small delay before enabling TX and RX (SCR1 = 0x70). I made a while(i++ < 30000);
<alkorr> ok
<alkorr> good to know
<linus> As the manual says: "one bit time"
* Bagder grins
<linus> I spent quite a few hurs myself with exactly the same problem. I should have remembered that... :-)
<alkorr> ok you know what i did ?
<alkorr> i just put the last SCISCR1 = 0x70 just after setting interrupt priorities and it woks now
<alkorr> so we don't need a very long delay
<alkorr> very good now i can display messages on my serial terminal :)))))))
<alkorr> thanks to you Linus, I thought about that but i was sceptical :) finally you did the right thing
* Bagder hoorays
<alkorr> ok i will see later
<alkorr> bye
<-- alkorr has quit ()
<linus> Gotta go now. CU!
<-- linus has quit ("Leaving")
--> alkorr (jbcoax@srs08m-5-139.n.club-internet.fr) has joined #rockbox
<alkorr> oh linus is left, well okay.
<-- alkorr has quit (Client Quit)
<Zagor> gotta run. see you guys
<Bagder> bye!
<Bagder> I figure the day is over now, I'll clear off as well
**** ENDING LOGGING AT Wed Mar 27 16:27:55 2002