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
Jun 2019
Anonymous
Wed 5-Jun-2019 06:01
Wed 5-Jun-2019 06:01
ZZZZZZZZZZZZZZZZZZZZZZZZZZ to long, jesus christ write up a summery for us lazy people
Haha, this article IS the summary
Anonymous
Wed 5-Jun-2019 22:21
Wed 5-Jun-2019 22:21
I can't seem to build this. backend.c and backend_z.h seem to be missing from the tarball.
Anonymous
Wed 5-Jun-2019 22:55
Wed 5-Jun-2019 22:55
Cool stuff!! :)
lft
Linus Åkesson
Wed 5-Jun-2019 23:16
Linus Åkesson
Wed 5-Jun-2019 23:16
I can't seem to build this. backend.c and backend_z.h seem to be missing from the tarball.
Whoops! Should be fixed now in 0g/02, which is otherwise identical.
Anonymous
Fri 7-Jun-2019 00:01
Fri 7-Jun-2019 00:01
How do a program should propperly handle a "/dev/pts"? I mean, I am able to open that device for read and write, the program is effectively writing and reading stuff, but when I want to close the program gracefully and close the file descriptor used to open the device, the program crashes with no clue on what has happened.
Thanks for the excellent work!
Thanks for the excellent work!
Anonymous
Sat 8-Jun-2019 23:57
Sat 8-Jun-2019 23:57
Having read your wonderful article, am feeling obliged to give my thanks. BIG thanks! :)
Anonymous
Sun 9-Jun-2019 23:50
Sun 9-Jun-2019 23:50
I love it! Some great leaps / lateral thinking. Spectacular code Linus!
Anonymous
Thu 13-Jun-2019 06:58
Thu 13-Jun-2019 06:58
What you are doing is simply awesome. Keep on going.
bertjerred
Bert Jerred
Sun 16-Jun-2019 06:45
Bert Jerred
Sun 16-Jun-2019 06:45
Fascinating and fun. Thank you for sharing this!
Anonymous
Wed 19-Jun-2019 08:45
Wed 19-Jun-2019 08:45
Great article! I have integrated the code into my disk utility and it allows me to scan the entire disk in 21 seconds using an interleave of 2 sectors!! I only send the first 4B and an error byte from each sector back to the C64, so that's why I can hit interleave of 2. I used the short checksum snipet from Shards of Fancy. I also noticed in Shards of Fancy that you use the "nop" for density 0 and 1 (Tracks 25-35), not just the slowest ones (31-35).
Now for some improvements!!
1) instead of storing $0100,$01FF->$0101, I store $01FF->$0100 so the data does not have a wrap. This is accomplished by starting the stack at $FF instead of $00, and also changing the final few instructions in the zero-page from pha before tsx to tsx before pha. This works because pha does not change the zero flag.
2) if the first byte of data is not $55, I give up after 3 tries and report error 04 for that sector and move on. also, if parity fails, give up after 3 tries and report error 05. This is because my project is a disk utility and not a loader :) I cannot "hang" trying forever.
3) save/restore the last 8B of stack, and SP, just before/after this routine, so I can still jsr/rts everywhere else in the code.
4) save/restore a portion of ZP before/after reading all the sectors I wanted, so I can return to KERNAL when done. Returning to KERNAL is important for my utility project. I am using $86-$E5 for the ZP code and only save/restore $99-$B4 -- the rest is just zero'd out.
Cheers!
Now for some improvements!!
1) instead of storing $0100,$01FF->$0101, I store $01FF->$0100 so the data does not have a wrap. This is accomplished by starting the stack at $FF instead of $00, and also changing the final few instructions in the zero-page from pha before tsx to tsx before pha. This works because pha does not change the zero flag.
2) if the first byte of data is not $55, I give up after 3 tries and report error 04 for that sector and move on. also, if parity fails, give up after 3 tries and report error 05. This is because my project is a disk utility and not a loader :) I cannot "hang" trying forever.
3) save/restore the last 8B of stack, and SP, just before/after this routine, so I can still jsr/rts everywhere else in the code.
4) save/restore a portion of ZP before/after reading all the sectors I wanted, so I can return to KERNAL when done. Returning to KERNAL is important for my utility project. I am using $86-$E5 for the ZP code and only save/restore $99-$B4 -- the rest is just zero'd out.
Cheers!
Anonymous
Wed 19-Jun-2019 21:18
Wed 19-Jun-2019 21:18
this is very helpful indeed. thanks a lot!
fieserwolf
fieserwolf
Anonymous
Thu 20-Jun-2019 21:03
Thu 20-Jun-2019 21:03
Amazing stuff! Thank you!
Anonymous
Sun 23-Jun-2019 16:52
Sun 23-Jun-2019 16:52
lft wrote:
I can't seem to build this. backend.c and backend_z.h seem to be missing from the tarball.
Whoops! Should be fixed now in 0g/02, which is otherwise identical.
That got me going, thanks. Have you ever considered putting this in a public repository so that others can contribute, too?
I really like the idea of this system: it's a nice sweet spot between writing and programming.
Anonymous
Tue 25-Jun-2019 01:00
Tue 25-Jun-2019 01:00
http://www.linusakesson.net/games/autosokoban/?v=1&seed=1783561528&level=100
Writing this down just to remember it, a nice little level worthy of playing. Some interesting tricks in it.
Writing this down just to remember it, a nice little level worthy of playing. Some interesting tricks in it.
Anonymous
Thu 27-Jun-2019 06:53
Thu 27-Jun-2019 06:53
This is amazing... well done!
z/DFM
z/DFM
Anonymous
Sun 30-Jun-2019 08:53
Sun 30-Jun-2019 08:53
Hi! I have a "?" signs for non-Latin characters in the debugger. Is there some way to get around this problem?
IBelanszky
Sun 30-Jun-2019 18:03
Sun 30-Jun-2019 18:03
Hi Linus, tried to catch up with you on IRC to recommend this sweet two part BBC docuseries on contemporary minimalist composers:
https://www.imdb.com/title/tt8095518/
Hope you enjoy it, cheers!
https://www.imdb.com/title/tt8095518/
Hope you enjoy it, cheers!