Hacker News new | ask | show | jobs
by system7rocks 45 days ago
Here is what I get confused about...

Surely a laptop prototype based on such a tested and well-worn CPU with 48K of RAM would be cool, but shouldn't it sip power? Like shouldn't it last for like months on a charge? Or am I revealing my very meager and outdated understanding of engineering with only a bachelor in computer science from like 2004?

3 comments

It's gotta be integrated together (and possibly be at a smaller process size) before you get all the power savings. If you have a real 6502, it has no internal RAM or cache, and you need to send power back and forth to the RAM chips. (I presume it's SRAM, but it could also be PSRAM)

If you ran a 6502 emulator on a cheap ARM SOC, it would be much lower power.

There was no sleep mode on the 6502 so even an emulator would need to be running continuously.
When you say "sleep mode", do you mean like Z80 having a HALT instruction which waits for an interrupt, or do you mean entering a very low power state like a laptop put to sleep?

6502 emulators can easily detect dumb endless loops, and that can turn into what's basically a Z80 HALT.

Nitpick, the laptop mentioned is actually using a 65C02 which does have STP (stop clock) and WAI (wait for interrupt) instructions.
There used to be small IBM PC compatible "palmtop" computers capable of running for many days on a pair of AA batteries. HP 200LX was pretty cool. I think it had 80C186 running at 10 MHz or thereabouts, with 1MB of RAM, monochrome graphic LCD and PCMCIA cards for storage. Norton Commander and Turbo C run on it without any problems.
There was also the HP 95LX with a smaller screen (40x16, 240x128), a 5.37 MHz NEC V20 CPU, and 512K or 1MB of RAM.

Also, the 100LX with monochrome CGA (80x24, 640x200), a 7.91 MHz 80186-compatible CPU, and 1MB or 2MB of RAM but the extra was used for file storage as drive C:.

The 200LX was the same as the 100LX but had newer software in ROM.

Atari Portfolio says hi.
The display also takes power, quite a lot actually - 2-5W