Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jpegqs
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
jpegqs
3mo ago
3x memory access then, because read+read+write. And extra 0 to 3 reads in this work.
2.
▲
by
jpegqs
3mo ago
> 3 If the low bit on any operand is set, remove it, and replace that operand with m[operand] i.e., a dereference of that address This dereference option makes a second instruction, this is not OISC.
3.
▲
by
jpegqs
1y ago
Open the link: https://www.ioccc.org/2024/kurdyukov3/ogvm.html Replace the text to the right of the Start button with: doomp.bin Click the Start button. Doom will launch in your browser.
4.
▲
by
jpegqs
3y ago
I think not. There is not only Tetris, but also Snake, and two types of "shooters" - one removes blocks, the other creates. And many variations of these four basic games.
5.
▲
by
jpegqs
3y ago
Sadly, the Brick Game model from which the ROM dump was taken doesn't contain a racing game, which was in the Brick Game that I had as a child.
6.
▲
by
jpegqs
3y ago
Does it count as a screenshot? Game select screen: HI-SCORE 0 /--------------------\ | | | | NEXT | | | [][][] | | [] []
7.
▲
Show HN: 4-bit Brick Game emulator in ASCII graphics
(github.com)
11 points
by
jpegqs
3y ago
|
9 comments
8.
▲
Show HN: Loongson (Loongarch64) support for IDA
(github.com)
2 points
by
jpegqs
3y ago
|
0 comments
9.
▲
Show HN: Doomestication of Spreadtrum
(youtube.com)
2 points
by
jpegqs
4y ago
|
0 comments
10.
▲
Show HN: Playing Doom on a feature phone (SC6531E chipset)
(youtube.com)
1 points
by
jpegqs
4y ago
|
0 comments
11.
▲
by
jpegqs
4y ago
I wanted to run Doom on one of them. So far I have LCD control for SC6531E (with 9306 LCD panel), USB control for SC6531E/SC6531DA and USB control for MT6260/MT6261 (using API from bootloader). I load the code not while the OS is
12.
▲
by
jpegqs
4y ago
From the ones I got, I found MAUI in the name of the firmware, and on Wikipedia I found these notes: > MAUI, a feature-phone operating system used with MediaTek-based shanzhai devices, also used on Motorola phones and some Samsung featur
13.
▲
by
jpegqs
4y ago
I don't know if the Mediatek chips have overridable pins, but the Spreadtrum does. There are also different LCD panels that have slightly different interfaces for which you will need to write a driver (and find it from the original fir
14.
▲
by
jpegqs
4y ago
I recently ordered and researched the cheapest feature phones (and some smartwatches), looks like half of that market is occupied by Unisoc with the SC6531(E/DA) chipset (from the Spreadtrum company they bought). It uses Mocor OS. The
15.
▲
Smolnes: A NES emulator in less than 5000 significant bytes of C++
(github.com)
142 points
by
jpegqs
4y ago
|
25 comments
16.
▲
Someone’s Been Messing with My Subnormals
(moyix.blogspot.com)
442 points
by
jpegqs
4y ago
|
127 comments
17.
▲
Show HN: A simple Italian to English translator written in C (Hello World joke)
5 points
by
jpegqs
4y ago
|
3 comments
18.
▲
by
jpegqs
4y ago
Explanation: 1. There are no data members inside X, in this case the size of the structure is 1 byte. 2. main() does nothing. 3. *x = new X[100]() - this requests a new array of 100 elements of type X, at a stage before main() is called. 4.
19.
▲
A way to torture an interviewer (C++, FizzBuzz)
63 points
by
jpegqs
4y ago
|
82 comments
20.
▲
by
jpegqs
4y ago
I have suggested them to look at my version, but I think UPX not much hardcore for that. Because I'm guessing decompression speed is more important to UPX than the extra 2kb.
21.
▲
by
jpegqs
4y ago
I looked at the latest version of UPX, they began to use LZMA, if this is considered an LZMA decoder: https://github.com/upx/upx/blob/devel/src/stub/src/arch/amd6... Then it takes ~25
22.
▲
by
jpegqs
4y ago
The compression method in UPX is much simpler (therefore smaller and faster), but the last time I saw it was over 10 years ago, something may have changed. But LZMA should provide better compression. I want to make the decoder small enough
23.
▲
Show HN: Micro LZMA decoder (x86 assembly code golf)
(github.com)
56 points
by
jpegqs
4y ago
|
10 comments
24.
▲
by
jpegqs
5y ago
Still can't improve this stage of encoding, it requires a lot of operations. Maybe there is something trivial, but I don't see it.
25.
▲
by
jpegqs
5y ago
Great description, but there is a typo in the second row: 00000000 abcdefgh ijklmnop qrstuvwx -------- -------- -------- -------- 00abcdef 00ijklgh 00qrmnop 00stuvwx 0000ijkl 0000qr00 0000gh00 00mnop00 <-- missing "
26.
▲
by
jpegqs
5y ago
I know that. My approach is different: instead of finding the fastest solution to deal with the existing base64 standard, I modify the standard to make it easier to decode. (There are cases when it isn't necessary to follow the standar
27.
▲
by
jpegqs
5y ago
> Is the rest of the table[1] unchanged? The rest is unchanged, but there is a trick in that the table indexes are shuffled, and shuffled differently depending on the neighboring values in a 24-bit block of source data. > but I have h
28.
▲
by
jpegqs
5y ago
Memory bandwidth is the limit, so you can't make it faster than memcpy(). However, copying memory is still faster than these algorithms, аnd it's complicated to make the conversion speed closer to the speed of copying memory.
29.
▲
Show HN: "crzy64", base64 mod aimed for fastest decoding
(github.com)
47 points
by
jpegqs
5y ago
|
18 comments
30.
▲
by
jpegqs
5y ago
> but two ternaries become a branch I need to use inline assembly because of this.
More ›