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
Apr 2015
Anonymous
Wed 1-Apr-2015 05:35
Wed 1-Apr-2015 05:35
So you're discarding some of the pitch information to get more pitch range? jackychanmindexplosion.jpg
lft
Linus Åkesson
Wed 1-Apr-2015 08:00
Linus Åkesson
Wed 1-Apr-2015 08:00
No, the total range is the same. I'm discarding some pitch information in order to be able to work with linear pitch values with high performance.
The Symbolic Links Virtual Machine
mporshnev
Max Porshnev
Wed 1-Apr-2015 09:34
Max Porshnev
Wed 1-Apr-2015 09:34
Running the three lines of code alone doesn't seem to work. Do we need to manually create the directory listing shown?
Oh no, not manually! :)Anonymous
Thu 2-Apr-2015 20:20
Thu 2-Apr-2015 20:20
wow, i would have one! what is make and model of the keyboard?
its a M-audio
https://www.google.se/search?q=maudio&espv=2&biw=1920&bih=989&source=lnms&tbm=isch&sa=X&ei=ycoYVZfDAszBPML_gcAO&ved=0CAYQ_AUoAQ#imgdii=_&imgrc=GxdLVhWo3A-Y5M%253A%3BThPJCshSEMRejM%3Bhttp%253A%252F%252Fwww.dammitray.com%252Fblogger%252Fuploaded_images%252FM%252520Audio%252520Ozone-705481.jpg%3Bhttp%253A%252F%252Fwww.dammitray.com%252Fblogger%252F2006%252F04%252Fpeople-love-my-shit.html%3B1024%3B768
its a pitcure of it on google
sorry for the lengt of the link
Anonymous
Fri 3-Apr-2015 23:27
Fri 3-Apr-2015 23:27
Revisiting the BBC micro port idea.
Here's hello world:
https://sphere.chronosempire.org.uk/~HEx/shots/zeugmab.png
(Story was the smallest, simplest file I had to hand, namely that discussed in https://groups.google.com/forum/#!topic/parchment/CeUK2Ry6Yvk .)
Adventures so far: the Beeb, which has an actual OS[1], uses the top of zero page for its own purposes, so the code residing there on the C64 needed splitting out into the self-modifying bit at the bottom, and the rest, which can usefully be stored at the bottom of page 1. Current zp usage is 153 bytes.
Then there was figuring out why the VM was trying to access addresses starting at 5fff00 and working downwards, well beyond the extent of the story file. Hmm, "property cache", you say?
Most recent facepalm was when I was single-stepping a crash and came across the instruction "jmp ($3dff)". This is a self-modifying jump table (jumptbl_oper) at $3d00 ($3300 on the C64 version) indexed by odd values. Early 6502s (including the 6510) perform the wraparound incorrectly, and indeed you have put the high byte at the beginning of the table as the buggy CPU in the C64 expects.
But not the more recent, non-buggy 65SC12 in the BBC Master[2] I was emulating! It does wraparound correctly, and thus loads the "wrong" value. Does this code really work on a SuperCPU?
[1] More to the point, an actual OS that can't be paged out, so any help it can provide is useful in alleviating the critical address space shortage. Also I can understand writing your own display routines, but your own *keyboard scanning code*? Is this what life is like on the C64?
[2] I would like to support a plain model B (32K should be enough for everybody, right?). But, well, if you can require a Commodore 576, I can probably get away with suggesting a Master 128 :)
Here's hello world:
https://sphere.chronosempire.org.uk/~HEx/shots/zeugmab.png
(Story was the smallest, simplest file I had to hand, namely that discussed in https://groups.google.com/forum/#!topic/parchment/CeUK2Ry6Yvk .)
Adventures so far: the Beeb, which has an actual OS[1], uses the top of zero page for its own purposes, so the code residing there on the C64 needed splitting out into the self-modifying bit at the bottom, and the rest, which can usefully be stored at the bottom of page 1. Current zp usage is 153 bytes.
Then there was figuring out why the VM was trying to access addresses starting at 5fff00 and working downwards, well beyond the extent of the story file. Hmm, "property cache", you say?
Most recent facepalm was when I was single-stepping a crash and came across the instruction "jmp ($3dff)". This is a self-modifying jump table (jumptbl_oper) at $3d00 ($3300 on the C64 version) indexed by odd values. Early 6502s (including the 6510) perform the wraparound incorrectly, and indeed you have put the high byte at the beginning of the table as the buggy CPU in the C64 expects.
But not the more recent, non-buggy 65SC12 in the BBC Master[2] I was emulating! It does wraparound correctly, and thus loads the "wrong" value. Does this code really work on a SuperCPU?
[1] More to the point, an actual OS that can't be paged out, so any help it can provide is useful in alleviating the critical address space shortage. Also I can understand writing your own display routines, but your own *keyboard scanning code*? Is this what life is like on the C64?
[2] I would like to support a plain model B (32K should be enough for everybody, right?). But, well, if you can require a Commodore 576, I can probably get away with suggesting a Master 128 :)
Anonymous
Sun 5-Apr-2015 20:02
Sun 5-Apr-2015 20:02
Cryptic crosswords are also very popular in the Netherlands. I'll try to solve this one but I never tried one in English before.
Anonymous
Mon 6-Apr-2015 01:57
Mon 6-Apr-2015 01:57
Absolutely beautiful. I enjoyed very much!
Anonymous
Mon 6-Apr-2015 23:47
Mon 6-Apr-2015 23:47
Great all (= idea, performance, programming, video)! Extra nice for those of us who love the movie Groundhog Day (the final piano scene).
lft
Linus Åkesson
Fri 10-Apr-2015 22:48
Linus Åkesson
Fri 10-Apr-2015 22:48
Hi! Great work on the BBC Micro, and sorry for the C64-isms. I haven't actually tested on a SuperCPU, and I agree in hindsight that it might fail for the reason you suggest.
As for keyboard scanning, there's a routine in the OS, but mine supports 3-key rollover and flexible key-repeat functionality. Besides, to use the stock routine, some research would be necessary to figure out what memory areas to leave intact. With 64 kB of RAM at hand, it was easier to just implement it.
As for keyboard scanning, there's a routine in the OS, but mine supports 3-key rollover and flexible key-repeat functionality. Besides, to use the stock routine, some research would be necessary to figure out what memory areas to leave intact. With 64 kB of RAM at hand, it was easier to just implement it.
Anonymous
Sat 11-Apr-2015 22:14
Sat 11-Apr-2015 22:14
best tty explanation ever written, hands down.
thank you so very much.
thank you so very much.
A case against syntax highlighting
Anonymous
Sun 12-Apr-2015 10:04
Sun 12-Apr-2015 10:04
a similar opinion, advocating a more "semantic" highlighting scheme: https://medium.com/@evnbr/coding-in-color-3a6db2743a1e
jaymzjulian
jaymz julian
Mon 13-Apr-2015 07:35
jaymz julian
Mon 13-Apr-2015 07:35
I did actually implement a player which used 9bit pitch and linear slide/vibrato a few years ago, using an single octave table at c-4, and asl/lsr to get to the target octave - but a maximum of 4 rotations per note, with a hardcoded set of shifts and a jump table to pick the octave. The worst case was around the same for the shift - around 28 cycles/channel. Of course, I then fucked it up by using volume envelopes with multiplies, and channel multiplexing, and blowing out the player to around 80 rasterlines, however.
Anonymous
Tue 14-Apr-2015 23:21
Tue 14-Apr-2015 23:21
I'm not especially new to bash programming or serial ports in general, but have never delved into stty and echo.
So I have a simple script (and I'm not sure I have the stty settings right), that should send "tx c" to the serial port. However, the best I can tell using minicom, if I perform the following from the command line:
echo tx c > /dev/ttyO1
the serial device receives:
tx.{
echo aaa > /dev/ttyO1 echos aay
echo bbbbb > /dev/ttyO1 echos bbbbz
echo abcdefghijklmnop > /dev/ttyO1 echos abeefgkijkmmnoz
WHAT am I missing?
So I have a simple script (and I'm not sure I have the stty settings right), that should send "tx c" to the serial port. However, the best I can tell using minicom, if I perform the following from the command line:
echo tx c > /dev/ttyO1
the serial device receives:
tx.{
echo aaa > /dev/ttyO1 echos aay
echo bbbbb > /dev/ttyO1 echos bbbbz
echo abcdefghijklmnop > /dev/ttyO1 echos abeefgkijkmmnoz
WHAT am I missing?
A case against syntax highlighting
Anonymous
Thu 16-Apr-2015 11:02
Thu 16-Apr-2015 11:02
I tend to prefer syntax highlighting when typing mostly to avoid typing mistakes (the color change gives me a sort of "satisfaction" that I typed at least something properly).
One interesting thing though - 99% of the textbooks I use as reference do not use any syntax highlighting for the printed code samples -- at most they use "boldface" or something to make one part stand out ocasionally, but even this is used sparingly.
Maybe the problem with syntax highlighting is when it gets too much. Like do we really Eclipse to put something in italics if it is a static member? I hate that default setting and always turn it off. If there is just a few simple syntax highlighting elements then its fine, but if the number of distinct color categories gets to be more than a few then it quickly becomes of decreasing utility to me.
One interesting thing though - 99% of the textbooks I use as reference do not use any syntax highlighting for the printed code samples -- at most they use "boldface" or something to make one part stand out ocasionally, but even this is used sparingly.
Maybe the problem with syntax highlighting is when it gets too much. Like do we really Eclipse to put something in italics if it is a static member? I hate that default setting and always turn it off. If there is just a few simple syntax highlighting elements then its fine, but if the number of distinct color categories gets to be more than a few then it quickly becomes of decreasing utility to me.
Anonymous
Tue 21-Apr-2015 16:45
Tue 21-Apr-2015 16:45
This is best ever article on TTY. What an awesome job. Please keep writing such articles.
Chakri
Chakri
Anonymous
Thu 30-Apr-2015 22:29
Thu 30-Apr-2015 22:29
This prick's ego doesn't allow him to reply on comments.
Surf around, you'll see he sometimes does. I think you'll see that his habit of doing awesome stuff instead of trawling forums that prevents him from replying :)