5 ms·
Tetris for Applesoft BASIC
- bunkydoo 8y agoh jjjjhkkhjgkghkghj kgh jk gh jk ghhgfhjfgjdfggh dsfg sd g dsfgdsfdsgdsgsdgdsfgdsfgawtrthjkbncvbxzzxvzxcvzxv z v zxc vz xcg gh k kldf5d55543554553545345545455546544654546534235443656423636435455534
- bunkydoo 8y agoh jjjjh554553545345545455546544654546534235443656423636435455534
- bunkydoo 8y agoh jjjjkgh jk gh jk ghhgfhjfgjdfggh dsfg sd g z v zxc vz xcg gh k kldf5d55543554553545345545455546544654546534235443656423636435455534
- tluyben2 8y agoI really like reading old mags & BASIC+ASM sources. Often there are interesting things to be found there; the old computers had very limited memory and a lot of tricks had to be used to make things fit. And the BASIC memory was even smaller than the machine memory. It was really amazing what some devs did and do. I got into firmware development for devices with the same kind of restrictions (our MCU has 24kb of usable memory) because I like this kind of bit fiddling. My favorite mags are http://www.msxcomputermagazine.nl/ http://www.msxcomputermagazine.nl/ and, even more, but more unorganized, https://www.msx.org/forum/msx-talk/general-discussion/msx-gids-pdfs-dutch-mag?page=7 https://www.msx.org/forum/msx-talk/general-discussion/msx-gi... .
- pmarin 8y agoHey, the number 3 has my first computer in the front page! the Yashica YC-64. I still have it in working condition.
- tluyben2 8y agoAh! That is one of the few MSX systems I do not have yet... I have all of them including east EU/Russian knock-offs. In my experience MSX systems were far far more robust that C64 for instance; I have a lot of C64’s; most of them are broken; all MSX’s still work. That can have many causes but looking at the PCBs and components it seems they really tried to make C64 as cheap as possible while MSXs have more robust components.
- woliveirajr 8y agoDo you have the Brazilian Gradiente MSX?
- Angostura 8y agoI seem to remember on the ZX81 using numbers took 5 bytes, so you could save a lot of memory by using inbuilt constants in stupid ways. So you wouldn't use 0, you would use NOT PI Let a=NOT PI SGN PI for 1 COS PI for -1 etc. Those bytes counted when you only had 1K RAM.
- zem 8y agoacorn user was my favourite https://en.wikipedia.org/wiki/Acorn_User https://en.wikipedia.org/wiki/Acorn_User
- 13of40 8y agoI wrote a Tetris game for the TRS-80 in the early 90's. To save on CPU and memory, I directly represented the state of the board, including the "cup" the pieces fell into, in video memory. On the first run I accidentally only drew half of the bottom of the cup, and I dropped a piece through the hole, where it sliced into whatever RAM was just past the video memory, crashing the system.
- sohkamyung 8y agoJust like Tron escaping the game grid. :-)
- bitwize 8y agoIndeed!: http://blog.danielwellman.com/2008/10/real-life-tron-on-an-apple-iigs.html http://blog.danielwellman.com/2008/10/real-life-tron-on-an-a...
- ddingus 8y agoJeff Minter calls doing that a trip into "happy fun memoryland."
- cabaalis 8y agoTetris related, if you haven't seen Ecstasy of Order you should watch it today.
- bluedino 8y agoWriting a simple Tetris clone (or at least starting one) is a pretty good coding test that be done in a sort amount of time. Anyone who can't figure out a few simple algorithms for detecting full lines or moving pieces down the screen probably won't be able to figure out any useful ones for other programs.