TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

[Computing nostalgia] Ask HN:What are your historic tips and tricks?

6 点作者 supermatou超过 8 年前
Things like &quot;always use pkunzip -d&quot; or &quot;compact the registry with regedit &#x2F;c&quot;, that made life much easier 20 years ago (or more)<p>Personally, I remember that I knew some tricks with CP&#x2F;M, but for the life of me, I couldn&#x27;t tell today what those were :-(

7 条评论

wj超过 8 年前
I remember having to use a floppy with custom autoexec.bat and config.sys files to run a lot of games on my 486sx25 with 4mb ram.<p>idkfa made single player Doom a lot easier :)
评论 #13653700 未加载
stevekemp超过 8 年前
Feels stupid even taking the time to write this down, but back in 1992 or so I was on a work-placement in the UK, from Sixth-Form.<p>I was placed in a British Rail office, where people were writing code to do things I don&#x27;t think were ever explained to me. My &quot;job&quot; seemed to be to make tea&#x2F;coffee and pretend to understand things people barely explained. There was lots of head-nodding, and similar.<p>Over the course of casual conversation it became apparent that one of the developers machines took significantly longer to compile the code-base than their colleagues.<p>I pressed the &quot;turbo&quot; button. The speed increased. People were happy.<p>That was my sole memorable contribution in the two-week placement. That and an overriding belief that wearing a tie in a development environment felt pointless.
throwmeaway32超过 8 年前
- To plot a pixel in VGA Mode 13 it was quicker to do memaddress = (y&lt;&lt;6) + (y&lt;&lt;8) + x rather than (y * 320) + x to index into the frame buffer. Bitshifts are nicer than muls.<p>- Precompute your sin table into an array of 255 entries and then access it using index&amp;255 to wrap around to avoid those pesky floating point calculations.
joeclark77超过 8 年前
When playing Karateka on the Apple ][ (don&#x27;t you dare write it <i>Apple II</i>), if the game starts to get boring, try flipping the floppy disk over to the other side.
mobiplayer超过 8 年前
Award BIOS master password: AWARD_SW<p>All the jaws dropped after I &quot;guessed&quot; their BIOS password... 11 year old me felt like a magician! :-)
pesfandiar超过 8 年前
Don&#x27;t forget to park the head before moving the computer!
cr0sh超过 8 年前
Well - when I was a kid, writing in MS BASIC on my computer, it was a list of PEEKS-n-POKES. My computers at the time were a TRS-80 Color Computer 2 and a Tandy Color Computer 3. I forget most of them, now, but I do recall the most important:<p>TRS-80 Color Computer 1 &amp; 2:<p>POKE 65495,0 - high-speed poke (1.79 MHz - double-speed) POKE 65494,0 - low-speed poke (0.895 MHz - normal-speed)<p>Tandy Color Computer 3:<p>POKE 65497,0 - high-speed poke (2.00 MHz - double-speed) POKE 65496,0 - low-speed poke (1.00 MHz - normal-speed)<p>It should also be noted that the POKEs for the CoCo 1 &amp; 2 would also enable a &quot;double-speed&quot; on the CoCo 3 - but IIRC, it only sped up a portion of the system, not everything. There was also an issue on all systems where if running in double-speed, cassette tape and floppy access would have problems (less so on the CoCo 3, as OS-9 Level 2 always ran at double speed). Also, despite what Wikipedia says, the CoCo 3 ran at a true 1 or 2 MHz clock (vs the older CoCo 1 &amp; 2).<p>Ultimately - these were important because in a system where the CPU did virtually everything (including sound - arguably one of the many reasons it wasn&#x27;t as successful in the marketplace - though much of that could also be contributed to Tandy&#x2F;Radio Shack&#x27;s lack of marketing prowess for the machine - which also competed against their more expensive business models, like the Model 3 and 4).<p>More PEEKs and POKEs can be found in a few books published back in the day, that can be found on Archive.org and other sites, scanned to PDF for preservation, if you care to look for them.<p>Virtually all personal computers of the time had these special commands (which were really commands to read (PEEK) and write (POKE) values into memory - useful for a BASIC program to load up and run a machine language program encoded as a series of hex bytes), plus a few others (the Apple series also had the CALL command - CALL -151, was important; it enters the ROM monitor!)<p>PEEKs, POKEs, EXECs, CALLs, VARPTRs, etc - all important when BASIC just wasn&#x27;t enough for some purposes; it was the way to give your BASIC code more power. It was also hell at times; anybody of that era can attest to spending hours (days in some cases!) painstakingly typing in row after row after mind-numbing row of DATA statements in a BASIC machine code loader, only to RUN it and have it error out (or get all the way thru, and crash the system - and woe unto you if you had been too foolhardy to save it first!). But you did it to get more powerful features in BASIC (I recall everything from extended graphics routines, to more disk commands, better sound output, etc).<p>Some links for those who care:<p>Color Computer PEEKS-n-POKES:<p><a href="http:&#x2F;&#x2F;www.colorcomputerarchive.com&#x2F;coco&#x2F;Documents&#x2F;Books&#x2F;500_POKES_PEEKS_&#x27;N_EXECS.pdf" rel="nofollow">http:&#x2F;&#x2F;www.colorcomputerarchive.com&#x2F;coco&#x2F;Documents&#x2F;Books&#x2F;500...</a><p><a href="http:&#x2F;&#x2F;www.colorcomputerarchive.com&#x2F;coco&#x2F;Documents&#x2F;Books&#x2F;300%20Pokes%20Peeks%20&#x27;n%20Execs%20for%20the%20CoCo%20III%20(Microcom%20Software).pdf" rel="nofollow">http:&#x2F;&#x2F;www.colorcomputerarchive.com&#x2F;coco&#x2F;Documents&#x2F;Books&#x2F;300...</a><p><a href="http:&#x2F;&#x2F;www.colorcomputerarchive.com&#x2F;coco&#x2F;Documents&#x2F;Books&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.colorcomputerarchive.com&#x2F;coco&#x2F;Documents&#x2F;Books&#x2F;</a><p>Apple PEEKS-n-POKES:<p><a href="http:&#x2F;&#x2F;apple2.org.za&#x2F;gswv&#x2F;USA2WUG&#x2F;FOUNDING.MEMBERS&#x2F;HOME.PAGES&#x2F;EDHEL&#x2F;texts&#x2F;pokes.html" rel="nofollow">http:&#x2F;&#x2F;apple2.org.za&#x2F;gswv&#x2F;USA2WUG&#x2F;FOUNDING.MEMBERS&#x2F;HOME.PAGE...</a><p><a href="http:&#x2F;&#x2F;www.apple2.org.za&#x2F;gswv&#x2F;a2zine&#x2F;GS.WorldView&#x2F;Resources&#x2F;GS.TECH.INFO&#x2F;MEGA.PEEKS.AND.POKES.html" rel="nofollow">http:&#x2F;&#x2F;www.apple2.org.za&#x2F;gswv&#x2F;a2zine&#x2F;GS.WorldView&#x2F;Resources&#x2F;...</a><p>Damn I miss those days...