| |
Krill
Registered: Apr 2002 Posts: 2982 |
Release id #197710 : Transwarp v0.64
General Q&A thread, also report problems and error logs here. |
|
... 162 posts hidden. Click here to view all posts.... |
| |
Oswald
Registered: Apr 2002 Posts: 5095 |
I dont get it you start writing the second table from "num_unique_block" and nothing makes X to go back to 0 after counting to 4 with it ? |
| |
chatGPZ
Registered: Dec 2001 Posts: 11391 |
the "trick" is to copy one array into itself after the first N copies, there is a second copy at 0+N, which you can then copy again. no need to reset the variable :) just write down what the array contains after each step, you'll see it then :) |
| |
Oswald
Registered: Apr 2002 Posts: 5095 |
ah I thought its a typo not having different labels, as the table is presented twice in the text. cool trick :) |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Needs a scratch buffer of 20 bytes after the table right, to avoid memory corruption? |
| |
chatGPZ
Registered: Dec 2001 Posts: 11391 |
excess len is num_unique_blocks |
| |
Krill
Registered: Apr 2002 Posts: 2982 |
Quoting JackAsserNeeds a scratch buffer of 20 bytes after the table right, to avoid memory corruption? No, it stops right at the end of the table, cpy #21. =) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11391 |
fuck yeah, you are quick =D |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: Quoting JackAsserNeeds a scratch buffer of 20 bytes after the table right, to avoid memory corruption? No, it stops right at the end of the table, cpy #21. =)
Duh ofc! sorry for being lame. |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: Duh ofc! sorry for being lame.
I might be lame again (I do have another man cold + cough and fever so bare with me), but when do you reset it to 0..20? That is needed right? |
| |
Krill
Registered: Apr 2002 Posts: 2982 |
Quoting JackAsserbut when do you reset it to 0..20? That is needed right? Sure. It's done just before loading the first file track, while stepping there. Then left untouched until stepping to the last file track. And get well soon! =) |
Previous - 1 | ... | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | ... | 18 - Next |