HNHacker News
TopNewBestAskShowJobs

foft

121 karma · joined April 26, 2016

submissionscomments
foft··on Ask HN: Apple dropping support for iPhone SE. What to do now?
Yes it works well. I have no need to ever change it until the hardware fails in say 20 years.
foft··on Ask HN: Apple dropping support for iPhone SE. What to do now?
Wow, about 3 days after my five year warranty ran out. They don't hang about do they!

I was planning to keep it running until the next Apple phone with 3.5mm jack. Are there any 3rd party companies providing security updates to keep such working hardware running?

foft··on MiSTer FPGA: Recreate classic computers using modern hardware
If you want to eg add original ports and hardware interfaces that tends to be easier with an fpga: cartridges, midi etc. Of course you can do that in software/ bit bang. Though it’s complicated by emulator timing, they tend to run frame by frame and sync at the end of a frame.
foft··on The Two Generals Problem
Say the enemy captures the messenger and sets the hill on fire? Bob never receives the message so Alice attacks alone.
foft··on Chip shortages due to lack of investment in right fabs
Perhaps it is time to add some of this to the data provided when buying the parts. Number of fab companies that can make the part and if the fab equipment is active/obsolete.
foft··on Ask HN: Why is there a chip shortage?
Intel doesn’t seem to have enough capacity, there are no in stock intel fpgas under $2000 at Digi-Key. Try and get any cyclone v or max 10 chips.
foft··on QEMU 6.2
Great news, QEMU is really great. Will have to give this a spin on the MiSTer again. I was experimenting with emulating the 68K in qemu in combination with FPGA reimplementation of the Amiga chipset. I ran into performance issues with the way AmigaOS manages memory, where stack and code can be in the same page. Qemu seems very inefficient in that case since it constantly invalidates the translated code I think, I wonder if that aspect has been improved at all.
foft··on The Perils of M1 Ownership
Update: The Big Sur 11.5 update with the second admin user, and no primary admin home directory, worked without issue.
foft··on The Perils of M1 Ownership
I used initially 'Blackmagic disk speed test'. This tool seems to only have an option for 1-5GB. I did not find a random or sequential option. I've definitely seen screenshots of this tool giving high read speeds using the Orico.

Then I tried 'ATTO disk benchmark'. This tool tries a variety of read and write I/O size ranges. The results I got here were strange. As expected as the I/O size range grows, the read bytes/s increase. Then it hits 1MB I/O size and the throughput drops to almost 0. Write was consistent across the range, perhaps since it simply hits a buffer on the SSD to be processed later.

With dd I achieved good performance transferring a 5GB file, after a reboot to ensure the file cache was definitely flushed.

Perhaps it was an issue with the firmware version for the Orico or the SSD itself. Unfortunately I was unable to update the latter since the 'Samsung Magician' software is windows only. On my windows devices I have no thunderbolt ports.

foft··on The Perils of M1 Ownership
Interesting. I just bought an M1 Mac mini. I added a nvme m.2 ssd (Samsung PM9A1 + Orico SCM2T3-G40) over thunderbolt 3 and moved the admin user over. Unfortunately I had to send back the ssd and adaptor since it was reading at only 75MB/s for some reason. Anyway I created a new admin on the internal ssd before deleting the external ssd. If I understand this article correctly it’s saying that I will no longer be able to update since I now only have a secondary admin user. Is that correct?
foft··on Commodore 64 and Raspberry Pi 4 = Synth6581
FPGA does not really offer advantages of accuracy, though it does offer advantages in time precision. This is important when putting it inside a C64. Of course a much faster CPU can also be used to handle real cycle accuracy in sync with the original clock.

Part of the sid sound comes from the non-linearity due to approximation in its design. For example the state variable filters are very non-linear on the 6581. It even differs significantly from each individual chip to chip[1]. The best software models I'm aware of are in residfp[2] and jsidplay[3]. After some work in octave I found the filter model can be recreated without the large lookup tables used in this software.

Of course getting the digital part correct is also important. There is a lot of documentation on this resulting from the decap [4].

Some features like bitfade, multiple driven bits in the wave corruption etc do not translate well to FPGA. They can be approximated with timers and lookup tables.

[1] Filter response chart: https://csdb.dk/forums/?roomid=14&topicid=105719

[2] residfp: https://bel.fi/alankila/c64-sw/index-cpp.html

[3] jsidplay2: https://haendel.ddns.net/~ken/

[4] Sid internals: https://sourceforge.net/p/sidplay-residfp/wiki/SID%20interna...

foft··on Commodore 64 and Raspberry Pi 4 = Synth6581
There are FPGA recreations too which are not software emulation. Not quite an ASIC but realistically as close it at gets at this volume.

[1]https://www.fpgasid.de/

[2]https://www.facebook.com/plugins/post.php?href=https%3A%2F%2...

I'm working on the latter one, Sidmax, so if there are any questions happy to answer.

foft··on QEMU 6.0
This is a video of the maintainer talking about the new virtual 68k 'machine'. https://www.youtube.com/watch?v=s_ve0bCC9q4 I'm also experimenting with hybrid emulation on the mister minimig - i.e. using qemu as the CPU and the FPGA for the Amiga hardware. https://misterfpga.org/viewtopic.php?f=4&t=2397
foft··on Bad Apple on an Apple //e: playing video on a stock 1 MHz Apple II [video]
JACs version for the Atari 400/800 is also impressive. Using the ANTIC for character set compression and displays as overscan. https://www.youtube.com/watch?v=tiLB8PQUJtc
foft··on The Framework Laptop
I'd be keen to make an FPGA based custom cpu board to go in, presuming they release port pinouts, timings and signalling details. This could be used for hardware laptop versions of legacy computers - Amiga, ST, Atari 800XL etc. Particularly if there is a slot for custom external ports to be exposed.
foft··on Exploring FPGA Graphics (2020)
I bought several books but this is the found I found most accessible: "RTL Hardware Design Using VHDL" by Pong Chu https://ieeexplore.ieee.org/book/5237648
foft··on SQLite briefing for Linux kernel hackers (2019)
I’d really love SQLite to work on the nfs and cifs. Is there anything that can be done to make that safe at a kernel level?
foft··on Let Chris Crawford teach you to program Atari's 8-bit computers [video]
If anyone wants to try out programming the a8 then here is a little info:

Best windows emulator: Altirra

Best cross platform emulators: Atari800 and Atari++

Or if you have an FPGA board (MIST,MCC216 etc) then you can try my core available at http://www.scrameta.net

Or you could buy a real 800XL!

← PreviousPage 2 of 2