Forum comments in chronological order
Disclaimer: I am not responsible for what people (other than myself) write in the forums. Please report any abuse, such as insults, slander, spam and illegal material, and I will take appropriate actions. Don't feed the trolls.
Jag tar inget ansvar för det som skrivs i forumet, förutom mina egna inlägg. Vänligen rapportera alla inlägg som bryter mot reglerna, så ska jag se vad jag kan göra. Som regelbrott räknas till exempel förolämpningar, förtal, spam och olagligt material. Mata inte trålarna.
- Jun 2007
- Aug 2007
- Oct 2007
- Nov 2007
- Dec 2007
- Jan 2008
- Feb 2008
- Mar 2008
- Apr 2008
- May 2008
- Jun 2008
- Jul 2008
- Aug 2008
- Sep 2008
- Oct 2008
- Nov 2008
- Dec 2008
- Jan 2009
- Feb 2009
- Mar 2009
- Apr 2009
- May 2009
- Jun 2009
- Jul 2009
- Aug 2009
- Sep 2009
- Oct 2009
- Nov 2009
- Dec 2009
- Jan 2010
- Feb 2010
- Mar 2010
- Apr 2010
- May 2010
- Jun 2010
- Jul 2010
- Aug 2010
- Sep 2010
- Oct 2010
- Nov 2010
- Dec 2010
- Jan 2011
- Feb 2011
- Mar 2011
- Apr 2011
- May 2011
- Jun 2011
- Jul 2011
- Aug 2011
- Sep 2011
- Oct 2011
- Nov 2011
- Dec 2011
- Jan 2012
- Feb 2012
- Mar 2012
- Apr 2012
- May 2012
- Jun 2012
- Jul 2012
- Aug 2012
- Sep 2012
- Oct 2012
- Nov 2012
- Dec 2012
- Jan 2013
- Feb 2013
- Mar 2013
- Apr 2013
- May 2013
- Jun 2013
- Jul 2013
- Aug 2013
- Sep 2013
- Oct 2013
- Nov 2013
- Dec 2013
- Jan 2014
- Feb 2014
- Mar 2014
- Apr 2014
- May 2014
- Jun 2014
- Jul 2014
- Aug 2014
- Sep 2014
- Oct 2014
- Nov 2014
- Dec 2014
- Jan 2015
- Feb 2015
- Mar 2015
- Apr 2015
- May 2015
- Jun 2015
- Jul 2015
- Aug 2015
- Sep 2015
- Oct 2015
- Nov 2015
- Dec 2015
- Jan 2016
- Feb 2016
- Mar 2016
- Apr 2016
- May 2016
- Jun 2016
- Jul 2016
- Aug 2016
- Sep 2016
- Oct 2016
- Nov 2016
- Dec 2016
- Jan 2017
- Feb 2017
- Mar 2017
- Apr 2017
- May 2017
- Jun 2017
- Jul 2017
- Aug 2017
- Sep 2017
- Oct 2017
- Nov 2017
- Dec 2017
- Jan 2018
- Feb 2018
- Mar 2018
- Apr 2018
- May 2018
- Jun 2018
- Jul 2018
- Aug 2018
- Sep 2018
- Oct 2018
- Nov 2018
- Dec 2018
- Jan 2019
- Feb 2019
- Mar 2019
- Apr 2019
- May 2019
- Jun 2019
- Jul 2019
- Aug 2019
- Sep 2019
- Oct 2019
- Nov 2019
- Dec 2019
- Jan 2020
- Feb 2020
- Mar 2020
- Apr 2020
- May 2020
- Jun 2020
- Jul 2020
- Aug 2020
- Sep 2020
- Oct 2020
- Nov 2020
- Dec 2020
- Jan 2021
- Feb 2021
- Mar 2021
- Apr 2021
- May 2021
- Jun 2021
- Jul 2021
- Aug 2021
- Sep 2021
- Oct 2021
- Nov 2021
- Dec 2021
- Jan 2022
- Feb 2022
- Mar 2022
- Apr 2022
- May 2022
- Jun 2022
- Jul 2022
- Aug 2022
- Sep 2022
- Oct 2022
- Nov 2022
- Dec 2022
- Jan 2023
- Feb 2023
- Mar 2023
- Apr 2023
- May 2023
- Jun 2023
- Jul 2023
- Aug 2023
- Sep 2023
- Oct 2023
- Nov 2023
- Dec 2023
- Jan 2024
- Feb 2024
- Mar 2024
- Apr 2024
- May 2024
- Jun 2024
- Jul 2024
- Aug 2024
- Sep 2024
- Oct 2024
- Nov 2024
Sep 2008
Anonymous
Mon 1-Sep-2008 06:11
Mon 1-Sep-2008 06:11
Very nice work!!! What is the programming software/compiler you used for your source code?
lft
Linus Åkesson
Tue 2-Sep-2008 05:45
Linus Åkesson
Tue 2-Sep-2008 05:45
basafa wrote:
Can you send me circuit & Atmega88 source program of your remote control project ?Thanks for showing an interest in my project!
Unfortunately, the remote control project is somewhat ad hoc, and has evolved
since I described it on this page. It would be difficult for me to create a
useful software/schematic combination at this point.
lft
Linus Åkesson
Tue 2-Sep-2008 05:50
Linus Åkesson
Tue 2-Sep-2008 05:50
Very nice work!!! What is the programming software/compiler you used for your source code?
That would be the AVR port of the GNU toolchain. During early development I used C routines (compiled with avr-gcc) along with the assembly code. Have a look in the makefile for all the details.
Anonymous
Fri 5-Sep-2008 11:36
Fri 5-Sep-2008 11:36
Hi lft!
I'm very much impressed by your work! I would like to ask a question:
Since you obviously have the knowhow to produce graphics and the VGA signals at the same time, would it be possible to create some kind of simple vga-driver for the MEGA88 in a way that you can set some graphic elements on the screen using a I²C or RS232 interface?
What I would like to see is a lib for the MEGA8. We just flash it and can do the following for example:
- setPixel(x,y,color)
- setCircle(x,y,radius, color, bfill)
- setText(x,y,cString, color, ...)
- other handy stuff
I know that communication between µC use a lot of time, but there is no need to have an ultra steady vga signal using a TFT? So we could transfer some instructions and the MEGA8 would display the data on the VGA-Panel. A couple of FPS per second would be enough.
Would that be possible?
I'm very much impressed by your work! I would like to ask a question:
Since you obviously have the knowhow to produce graphics and the VGA signals at the same time, would it be possible to create some kind of simple vga-driver for the MEGA88 in a way that you can set some graphic elements on the screen using a I²C or RS232 interface?
What I would like to see is a lib for the MEGA8. We just flash it and can do the following for example:
- setPixel(x,y,color)
- setCircle(x,y,radius, color, bfill)
- setText(x,y,cString, color, ...)
- other handy stuff
I know that communication between µC use a lot of time, but there is no need to have an ultra steady vga signal using a TFT? So we could transfer some instructions and the MEGA8 would display the data on the VGA-Panel. A couple of FPS per second would be enough.
Would that be possible?
Anonymous
Fri 5-Sep-2008 17:28
Fri 5-Sep-2008 17:28
An AVR console using NES controllers and NTSC Composite Video output.
-> http://belogic.com/uzebox/
-> http://belogic.com/uzebox/
lft
Linus Åkesson
Sat 6-Sep-2008 12:24
Linus Åkesson
Sat 6-Sep-2008 12:24
... would it be possible to create some kind of simple vga-driver for the MEGA88 in a way that you can set some graphic elements on the screen using a I²C or RS232 interface?
What I would like to see is a lib for the MEGA8. We just flash it and can do the following for example:
- setPixel(x,y,color)
- setCircle(x,y,radius, color, bfill)
- setText(x,y,cString, color, ...)
- other handy stuff
What I would like to see is a lib for the MEGA8. We just flash it and can do the following for example:
- setPixel(x,y,color)
- setCircle(x,y,radius, color, bfill)
- setText(x,y,cString, color, ...)
- other handy stuff
Hi! The main problem with this approach is that the chip would have to keep track of a frame buffer. 1 kB of RAM is not a lot. Even if we opt for a simple black and white bitmap, there would only be room for 128 x 64 pixels. One alternative would be to use a tiled display, but without external RAM it would still be very limited.
Once we start using external RAM, we can do lots of things, and that area has been explored by others in several projects.
Anonymous
Sat 6-Sep-2008 15:56
Sat 6-Sep-2008 15:56
lft wrote:
... would it be possible to create some kind of simple vga-driver for the MEGA88 in a way that you can set some graphic elements on the screen using a I²C or RS232 interface?
What I would like to see is a lib for the MEGA8. We just flash it and can do the following for example:
- setPixel(x,y,color)
- setCircle(x,y,radius, color, bfill)
- setText(x,y,cString, color, ...)
- other handy stuff
What I would like to see is a lib for the MEGA8. We just flash it and can do the following for example:
- setPixel(x,y,color)
- setCircle(x,y,radius, color, bfill)
- setText(x,y,cString, color, ...)
- other handy stuff
Hi! The main problem with this approach is that the chip would have to keep track of a frame buffer. 1 kB of RAM is not a lot. Even if we opt for a simple black and white bitmap, there would only be room for 128 x 64 pixels. One alternative would be to use a tiled display, but without external RAM it would still be very limited.
Once we start using external RAM, we can do lots of things, and that area has been explored by others in several projects.
If the problem with the above is just the 1K RAM, would a larger chip with, say 4K RAM, be enough to do some basic text and graphics? Thank you for your participation.
Anonymous
Sat 6-Sep-2008 16:14
Sat 6-Sep-2008 16:14
I posted the above question and just realized that 4K would only allow 512 x 256 pixels, so how about some of the 8K RAM processors? Would that allow some basic text and graphics capabilities using serial port for video data input? Thanks again!
Anonymous
Sat 6-Sep-2008 17:43
Sat 6-Sep-2008 17:43
My initial idea about the setPixel and stuff was to keep track about how things are created. Not storing the actual image.
If you want to set a pixel you check if the pixel should be painted by searching some kind of ObjectPaintInstruction-stack or something.
I have to add that this approach would loose speed the more objects are to be displayed.... hmmm... maybe a dedicated VGA driver chip would be the easier choice ;)
If you want to set a pixel you check if the pixel should be painted by searching some kind of ObjectPaintInstruction-stack or something.
I have to add that this approach would loose speed the more objects are to be displayed.... hmmm... maybe a dedicated VGA driver chip would be the easier choice ;)
Anonymous
Mon 8-Sep-2008 11:20
Mon 8-Sep-2008 11:20
Clever :)
Someone should print this and show it to the Microsoft lawyers, just to see their faces after they've first laughed at it and then given that laugh a second's thought.
Someone should print this and show it to the Microsoft lawyers, just to see their faces after they've first laughed at it and then given that laugh a second's thought.
Anonymous
Mon 8-Sep-2008 11:28
Mon 8-Sep-2008 11:28
I was looking at level 100 and above, and they were pretty mean. I hope I didn't suffocate your web server with generating them!
How fast is the solving algorithm, and how does it compare to that in the original paper which inspired you, and how quickly can it (your own algorithm) solve f.ex the typical level 100's on a given system?
How fast is the solving algorithm, and how does it compare to that in the original paper which inspired you, and how quickly can it (your own algorithm) solve f.ex the typical level 100's on a given system?
Anonymous
Thu 11-Sep-2008 09:21
Thu 11-Sep-2008 09:21
I find it unfortunate that you didn’t also put up unprocessed files – that would have been extremely interesting.
Still though, this is really awesome. Thanks for sharing.
—ap
Still though, this is really awesome. Thanks for sharing.
—ap
Anonymous
Fri 12-Sep-2008 00:11
Fri 12-Sep-2008 00:11
I'm assuming this uses modern equal temperament? [half step up = x * 2^(1/12) ]
You should experiment with some temperaments that were popular during Bach's time.
-Andy
You should experiment with some temperaments that were popular during Bach's time.
-Andy
Anonymous
Fri 12-Sep-2008 11:03
Fri 12-Sep-2008 11:03
> Well, actually it will, if you remove the church.
I'm still laughing at this :-)
The result is impressive. Thanks man.
Pygy
I'm still laughing at this :-)
The result is impressive. Thanks man.
Pygy
Anonymous
Sat 13-Sep-2008 02:33
Sat 13-Sep-2008 02:33
This is lovely. Thank you very much for sharing. Of course I too would like to play with the original files, but I'm glad you've seen fit to share even the MP3s. Do we have a license to copy them around as well?
Anonymous
Sat 13-Sep-2008 02:56
Sat 13-Sep-2008 02:56
This is lovely. Thank you very much for sharing. Of course I too would like to play with the original files, but I'm glad you've seen fit to share even the MP3s. Do we have a license to copy them around as well?
Oops, forgot to sign that — I'm Kragen Javier Sitaker, kragen@canonical.org.
A case against syntax highlighting
Anonymous
Sat 13-Sep-2008 03:17
Sat 13-Sep-2008 03:17
It surprises me that this topic generates so much heat! It's not as if Linus is threatening to take away your syntax-highlighting, is it?
I do think that syntax-highlighting traditionally tends to put emphasis on the wrong things — boldfacing language keywords and the like — but I do find it useful; I can follow the syntax more easily, which lets me focus my attention on the semantics of the program. I think comic books have shown that doing something similar to syntax highlighting on English text, by boldfacing the words that carry emphasis in the sentences, also improves readability.
You can see some of the kind of syntax-highlighting I favor at http://canonical.org/~kragen/sw/urscheme/ — comments and “noise words” like “if” are faded out a bit, and the names of functions being defined are in a conspicuous blue color which makes it easy to scan for them (rather like boldfacing a header or a term being defined). I could improve on this (it’s just Emacs’s default syntax highlighting) but it's pretty good already. The extras in the vim example in the article don’t add a great deal, to my eye, although they don’t seem quite as distracting to me as to Linus.
— Kragen Javier Sitaker <kragen@canonical.org>
I do think that syntax-highlighting traditionally tends to put emphasis on the wrong things — boldfacing language keywords and the like — but I do find it useful; I can follow the syntax more easily, which lets me focus my attention on the semantics of the program. I think comic books have shown that doing something similar to syntax highlighting on English text, by boldfacing the words that carry emphasis in the sentences, also improves readability.
You can see some of the kind of syntax-highlighting I favor at http://canonical.org/~kragen/sw/urscheme/ — comments and “noise words” like “if” are faded out a bit, and the names of functions being defined are in a conspicuous blue color which makes it easy to scan for them (rather like boldfacing a header or a term being defined). I could improve on this (it’s just Emacs’s default syntax highlighting) but it's pretty good already. The extras in the vim example in the article don’t add a great deal, to my eye, although they don’t seem quite as distracting to me as to Linus.
— Kragen Javier Sitaker <kragen@canonical.org>
lft
Linus Åkesson
Tue 16-Sep-2008 20:02
Linus Åkesson
Tue 16-Sep-2008 20:02
I was looking at level 100 and above, and they were pretty mean. I hope I didn't suffocate your web server with generating them!
How fast is the solving algorithm, and how does it compare to that in the original paper which inspired you, and how quickly can it (your own algorithm) solve f.ex the typical level 100's on a given system?
How fast is the solving algorithm, and how does it compare to that in the original paper which inspired you, and how quickly can it (your own algorithm) solve f.ex the typical level 100's on a given system?
No problem. =)
The solution is a bi-product of the puzzle generation algorithm, so it would take no additional time.
lft
Linus Åkesson
Tue 16-Sep-2008 20:04
Linus Åkesson
Tue 16-Sep-2008 20:04
I'm assuming this uses modern equal temperament? [half step up = x * 2^(1/12) ]
You should experiment with some temperaments that were popular during Bach's time.
-Andy
You should experiment with some temperaments that were popular during Bach's time.
-Andy
That's an excellent suggestion. Thanks!
lft
Linus Åkesson
Tue 16-Sep-2008 20:06
Linus Åkesson
Tue 16-Sep-2008 20:06
This is lovely. Thank you very much for sharing. Of course I too would like to play with the original files, but I'm glad you've seen fit to share even the MP3s. Do we have a license to copy them around as well?
Oops, forgot to sign that — I'm Kragen Javier Sitaker, kragen@canonical.org.
Yes, do copy them around. Sharing is caring.
A case against syntax highlighting
Imperceptus
alexander miglin
Wed 17-Sep-2008 17:23
alexander miglin
Wed 17-Sep-2008 17:23
I honestly think that any development that has stemmed from HTML needs syntax highlighting. I do remember when I didn't have it amidst making websites, I am very thankful that I do now.
Although I would agree that languages like c,c++ or even .net could really do away with them with no loss to the author.
Although I would agree that languages like c,c++ or even .net could really do away with them with no loss to the author.
Anonymous
Fri 19-Sep-2008 13:40
Fri 19-Sep-2008 13:40
That is a very nice example of lateral thinking making the best of the AVR's potential.
Full marks!
Joey
Full marks!
Joey
Anonymous
Fri 19-Sep-2008 16:25
Fri 19-Sep-2008 16:25
I've played about with generating video directly from an AVR myself, did most of a space invaders game as a demo, and I've actually used similar techniques on commercial designs to drive graphic LCD displays directly from an AVR (the timing is rather less critical with LCD's)... That included driving a windowed display using a Mega128 with next to no external hardware, so from the perspective of someone who knows exactly what's involved let me say that you've done a beautiful job there... Congratulations :)
Anonymous
Fri 19-Sep-2008 18:58
Fri 19-Sep-2008 18:58
Eddy-B wrote:
This is one of my favorite Hubbard tunes.But this version, being quite horrible at times, can't be improved much on i guess using only a piano, other than just fixing the off-key sounds - i don't think the original has any off-key notes.
It was a good try at that but i'd rather listen to the SID instead.
Anonymous
Sat 20-Sep-2008 03:07
Sat 20-Sep-2008 03:07
Linus, I'm trying to compile the tracker under mingw32 envirotment... well.. it compiles allright (after getting rid off err() calls, replacing ncurses with pdcurses and adding some os specified libraries for SDL) but nothing happens - not even an error message (i replaced err with printf())
could you provide any help? i'm more assembly coder than c one :(
could you provide any help? i'm more assembly coder than c one :(
Anonymous
Sat 20-Sep-2008 05:22
Sat 20-Sep-2008 05:22
after another two hours i got this to work
instead pdcurses for win32, there is pdcurses for SDL library which works as it should (win32 version needs LINES and COLUMS as system envirotment variables, and works only if run from command prompt)
anyway...
MakeFile:
LDFLAGS=-lpdcurses -lmingw32 -lSDLmain -lSDL -mwindows
main.c:
if(argc != 2) {
fprintf(stderr, "usage: %s <filename>\n", argv[0]);
}
...
if(SDL_OpenAudio(&requested, &obtained) == -1) {
fprintf(stderr, "SDL_OpenAudio");
}
and <err.h> (main.c, gui.c) is no longer needed
hope it will be of some use for someone...
instead pdcurses for win32, there is pdcurses for SDL library which works as it should (win32 version needs LINES and COLUMS as system envirotment variables, and works only if run from command prompt)
anyway...
MakeFile:
LDFLAGS=-lpdcurses -lmingw32 -lSDLmain -lSDL -mwindows
main.c:
if(argc != 2) {
fprintf(stderr, "usage: %s <filename>\n", argv[0]);
}
...
if(SDL_OpenAudio(&requested, &obtained) == -1) {
fprintf(stderr, "SDL_OpenAudio");
}
and <err.h> (main.c, gui.c) is no longer needed
hope it will be of some use for someone...
Anonymous
Sun 21-Sep-2008 19:19
Sun 21-Sep-2008 19:19
Whats the potentiometer for?
Anonymous
Mon 22-Sep-2008 01:20
Mon 22-Sep-2008 01:20
Hi, great work. I am trying to rebuild this thing. Whats the PNP transistor? Is "BC560C" okay?
Anonymous
Mon 22-Sep-2008 11:59
Mon 22-Sep-2008 11:59
Hi, great work. I am trying to rebuild this thing. Whats the PNP transistor? Is "BC560C" okay?
Nevermind, I tried it. It works.Anonymous
Wed 24-Sep-2008 23:22
Wed 24-Sep-2008 23:22
Beautiful song, and nicely done in SID!
Kind Regards
Tel B :)
Kind Regards
Tel B :)
lft
Linus Åkesson
Fri 26-Sep-2008 16:18
Linus Åkesson
Fri 26-Sep-2008 16:18
Whats the potentiometer for?
It's for adjusting the intensity of the white high-res overlay used for text, so the text won't bleed (too high) or turn grey (too low). Different transistors have different hFE factors, which also vary with temperature, so it's convenient to be able to fine tune the system after it has been assembled.
Anonymous
Tue 30-Sep-2008 21:04
Tue 30-Sep-2008 21:04
Very impressive, then I saw the Mandelbrot being calculated in real-time and my mind possibly just exploded :-)