Good article from Your Spectrum magazine (1984) regarding methods of extending ZX Spectrum BASIC.[googleapps domain="drive" dir="file/d/0B3YJXuFJXqAYLWZzeEQ5TTNsX1U/preview" query="" width="640" height="480" /]
ECMAScript 6 new features:http://es6-features.org/#ConstantsECMAScript 7 new deatures:https://h3manth.com/new/blog/2015/es7-features/
Purchased Interface 1 bis for the ZX Spectrum. There are plenty information about it and installing and preparing SD card on manufacturers site https://sites.google.com/site/interface1bis/ But I have encountered a problem - could not start it and was allways getting "file not found" error.Did all steps described in troubleshooting video https://www.youtube.com/watch?v=QYHhWQyVWAU Loaded OpSys from PC using LOAD command, program loads OK. But when I do NEW and then RUN I get "file not found" error. Solution I found was that I had to repeat all prepare SD card steps, but additionally had to add comparability with Windows 8 (and run as administrator off course) option (I was running Windows 10) to LDCSetup.exe and later to the 'Prepare new card' utility.So, In short - add Windows 8 compatibility to Interface 1 bis utilities.
Making games in ZX Spectrum assembly book ( russian lang.):http://zxpress.ru/book.php?id=2How to write ZX Spectrum games tutorial in English:https://chuntey.wordpress.com/2012/12/18/how-to-write-zx-spectrum-games-chapter-1/Spectrum ROM routines:http://skoolkit.ca/disassemblies/rom/asm/2852.htmlZ80 instruction set:http://clrhome.org/table/Group in FB dedicated for Z80 assembly programming:https://www.facebook.com/groups/z80asm/WOS forum link:http://www.worldofspectrum.org/forums/categories/assemblerAnother forum (ru):http://zx-pk.ru/forums/14-programmirovanie.htmlSome more books (ru):http://vtrdos.ru/
Experimented with reading DHT22 amd Light sensor modules using NodeMCU ESP12E development board. Main problem I had that timer did not work on old firmware, had to update it ( read previous post ). Other that that all went fine and could read data.One strange thing is that I am getting temperature a little bit higher than actual. Not sure why is that, maybe because board is powered by 3.3v and not 5v. Will have to find out that later.Code:if not tmr.alarm(0, 5000, tmr.ALARM_AUTO , function() print("Starting to read data:") light = adc.read(0) or "" print("Light:"..light) pin = 4 status, temp, humi, temp_dec, humi_dec = dht.readxx(pin) if status == dht.OK then -- Float firmware using this example print("DHT Temperature:"..temp..";".."Humidity:"..humi) elseif status == dht.ERROR_CHECKSUM then print( "DHT Checksum error." ) elseif status == dht.ERROR_TIMEOUT then print( "DHT timed out." ) end end) then print("whoopsie") end
Tested that this sample was not working on dev board:if not tmr.alarm(0, 5000, tmr.ALARM_SINGLE, function() print("hey there") end) then print("whoopsie") endChecked firmware version (connected to ESPlorer and pressed reset):ESP12E default NodeMCU 0.9.5 build 20150318 powered by Lua 5.1.4Decided to update firmware. Found here that only 9.6 is available precompiled, later ones have to be costum built. Downloaded 9.6 files and uploaded them using ESP8266Flasher.exeChecked firmware version then:NodeMCU 0.9.6 build 20150704 powered by Lua 5.1.4And tested this code sample:if not tmr.alarm(0, 5000, tmr.ALARM_SINGLE, function() print("hey there") end) then print("whoopsie") endIt worked.
1. Install the Arduino IDE from download section of arduino.cc website 2. Run Arduino IDE's arduino.exe3. Arduino IDE >> File >> Preferences (Shourtcut is CTRL + COMMA)>> Settings tab >> on Additional Board Manager URL side type this >> and click ok.http://arduino.esp8266.com/stable/package_esp8266com_index.jsonThis json object will bring necessary drivers for NodeMCU from the website esp8266.com to our Arduino IDE.4. Arduino IDE >> Tools >> Board >> Boards Manager... >> Type = Contributed >> click on install (Or, search ESP8266 from the search bar)5. Arduino IDE >> Tools >> Board >> NodeMCU 1.0 (ESP-12E MODULE)
As recently I started tinkering with ZX Spectrum hardware, tested one old joystick I had. Up and right positions did not work during the games. Tested port reading with one simple program:10 LET x=IN 3120 PRINT X30 GOTO 10There was no reading in up and right position.I took apart joystick case and tested connection between PCB and plug - there was no connection for up and right wires.So, just took now DB9 female connector and soldered it instead of an old one that I have just cut away.
So, this ZX spectrum was alive, but during testing with some games (for example game "Breakthrough"), I noticed strange video glitch in upper screen part:My guess was it is not video RAM related, but probably RF module fault. First decided to change all electrolytic caps on the board and see if it helps - it did not. Picture was the same.Then decided to check RF module - remove it and re solder all joints.After putting it back I did a check with the same game. It helped a bit, but still I was not happy with the result. White line disappeared, but it seemed like upper part was washed away a bit:And then it came to my mind a thought about why the hell I am using this RF module at all. I could just do a composite mod and that would definitely would solve all RF related video problems.Composite mod as it is called, is just disconnecting power and signal wires that go from RF module - means disconnecting RF module. Then, in the RF module itself, disconnecting resistor from video output connector. And finally, connecting video output from board to video output connector in RF module using…
Maybe I got carried away.. but here is another non working rubber keyboard ZX Spectrum I got (s/n D01-257600).Its interesting regarding those serial numbers, some are 01 some D01. I really would like to know what do they mean, if they mean anything ? Found one site that has list of some serial numbers and has a form to submit more. Probably later I will submit them serial number of my ZX Spectrum machines. But now, back to this one.. On the outside it has some bruises and scratches, also it has lost all of its rubber pads, but inside looks good.Actually it looked so good that I powered it immediately and saw nice working home screen. But after pressing some keys found than none of them work. No wonder why because when opened the box immediately found reason.Keyboard membrane connector was cracked near the connector and was totally broken near the membrane, So, it seems that now I am looking after replacement membrane,To be continued.