mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Lounge

Reply
 
Thread Tools
Old 2018-11-28, 01:28   #23
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

947710 Posts
Default

Quote:
Originally Posted by xilman View Post
4K? Luxury! Now we had it tough...

I've written code in 2k ROM and (almost) all the RAM internal to a Z80 cpu. Even I didn't stoop as low as to use the DRAM refresh counter as RAM, though I know someone who did. Knowing how and what to put into it so as to get the right value out again in the fullness of time is seriously deep magic.
I've written tons of code in 2k ROM and (almost) all the RAM internal to a Z80 cpu, too!
Part of it was actually a discrete Fourier transform (or rather a Goertzel on the fly) - to determine a caller's number over the 2-frequency encoded sound signal. Not the same as the USA Dual-tone multi-frequency signaling, the Russian system was based on odd multiples of 100Hz (700, 900, 1100, 1300, 1500, 1700, iirc) so by sampling two-three 10ms segments of that signal you would get the same result, because of their gcd of 100Hz. The rest was a slew of service functions - save the numbers in stack, have a notebook of numbers, and even a voice read out of these numbers... oh fun fun...
https://ru.wikipedia.org/wiki/%D0%90%D0%9E%D0%9D

Listen to this - the sound of 123-45-67
Batalov is offline   Reply With Quote
Old 2018-11-28, 15:30   #24
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

2A0116 Posts
Default

Quote:
Originally Posted by Batalov View Post
I've written tons of code in 2k ROM and (almost) all the RAM internal to a Z80 cpu, too!
But did you have any RAM other than the Z80 registers? Apologies if it wasn't clear that my system had no external RAM at all.
xilman is offline   Reply With Quote
Old 2018-11-28, 20:51   #25
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

3·7·167 Posts
Default

Reading about optimizing code makes me wonder how the OGR(Optimal Golomb Ruler) project is doing. I've heard those guys are wizards at keeping stuff in L1 cache.
jasong is offline   Reply With Quote
Old 2018-11-30, 04:39   #26
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

7·1,373 Posts
Default

We still deal with 8k and 16k Flash and 512 bytes to few kb RAM on daily bases, this is how we make our bread (we are STM microcontrollers and Cortex M "expert"). For more than 15 years, the "largest" toy we programmed had 1MB Flash. You may wonder to exhaustion if you knew how many things one can do in such restricted space...

Last fiddled with by LaurV on 2018-11-30 at 04:41
LaurV is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How trolls destroy the Internet: Anti-Semite edition garo Soap Box 37 2015-12-02 17:17
Dropbox dropped Prime95 performance 47% Rodrigo Information & Answers 26 2011-06-21 05:06
Name the trolls and win a prize. Xyzzy Lounge 42 2010-03-08 07:06

All times are UTC. The time now is 22:47.


Fri Jul 16 22:47:38 UTC 2021 up 49 days, 20:34, 1 user, load averages: 1.98, 3.23, 3.06

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.