EXAPUNKS
评价数不足
IMAGE DECOMPRESSION (TENTEN FORMAT) (WITH REDSHIFT™ EXA® EMULATION)
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
43.048 KB
2019 年 7 月 17 日 下午 9:05
2019 年 7 月 24 日 下午 12:26
2 项改动说明 ( 查看 )

订阅以下载
IMAGE DECOMPRESSION (TENTEN FORMAT) (WITH REDSHIFT™ EXA® EMULATION)

描述
The *emulator* host contains registers that behave identically to the corresponding EXA registers for EXAs in the TEC® Redshift™. Use the #GPGP register to change the sprite so it matches the target image.

File 399 contains the target image stored in _TenTen format_, an image format that stores a 10x10 sprite as ten numbers, each between -24 and 999. Each column of the image is represented by a 10-bit binary string, which is converted to a decimal number in [0,1023], and then decreased by 24. For example, a sprite with exactly one pixel in column 4, row 7 would be stored as "-24, -24, -24, 40, -24, -24, -24, -24, -24, -24".
3 条留言
isaac.wass (aaaaaaaa)  [作者] 2019 年 7 月 24 日 上午 11:53 
Glad you liked the puzzle!

Sorry about the confusion the "-24" shift may have introduced. I originally came up with TenTen format to store sprites in the TEC Redshift. The "-24" shift is so the numbers take up at most 3 characters (whereas 1023 for example would take 4 characters).

DATA lines in the Redshift can hold a limited amount of characters, and EXAs can hold a limited number of lines. Since a DATA line can hold five 3-character numbers but only four 4-character numbers, I can store more data per line with the -24 shift: the "ADDI 24" command adds one line, but the shift saves roughly 0.5 lines per sprite.
neizod 2019 年 7 月 21 日 上午 12:19 
Unlike TIS-100 which store number only from -999 to +999, EXAPUNK can store number from -9999 to +9999, and I think -24 is not really necessary.
buddy 2019 年 7 月 19 日 上午 8:36 
I beat it (albeit with terrible cycle scores).
In my opinion that whole -24 business wasn't necessary, and just confused the point of the puzzle. I spent a long time trying to figure out how the heck 103 somehow became 7 pixels, until someone else who understood your level description better than I did pointed out to me that I needed to add that 24 to get the right binary number. That whole part is superfluous, you get past it with one "ADDI 24" and never think about it again.

But ignoring my minor nitpicks, it was an nice puzzle to solve. Not many people upload puzzles anymore, I hope you upload more. Overall, I enjoyed it.