Good article from Your Spectrum magazine (1984) regarding methods of extending ZX Spectrum BASIC.
Here I will be posting anything I see any importance to me and things that I found or did and prefer not to forget anymore with some little hope that some of this shit will be any use for someone else.
Monday, November 21, 2016
Thursday, November 17, 2016
New features of Java Script
ECMAScript 6 new features:
http://es6-features.org/#Constants
ECMAScript 7 new deatures:
https://h3manth.com/new/blog/2015/es7-features/
http://es6-features.org/#Constants
ECMAScript 7 new deatures:
https://h3manth.com/new/blog/2015/es7-features/
Wednesday, November 16, 2016
Interface 1bis file not found error
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.
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?
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.
Some links for ZX Assemlby programming
Making games in ZX Spectrum assembly book ( russian lang.):
http://zxpress.ru/book.php?id=2
How 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.html
Z80 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/assembler
Another forum (ru):
http://zx-pk.ru/forums/14-programmirovanie.html
Some more books (ru):
http://vtrdos.ru/
http://zxpress.ru/book.php?id=2
How 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.html
Z80 instruction set:
http://clrhome.org/table/
https://www.facebook.com/groups/z80asm/
WOS forum link:
http://www.worldofspectrum.org/forums/categories/assembler
Another forum (ru):
http://zx-pk.ru/forums/14-programmirovanie.html
Some more books (ru):
http://vtrdos.ru/
Thursday, September 15, 2016
tmr.alarm not working on ESP12E 0.9.5 firmware
Tested that this sample was not working on dev board:
Checked firmware version (connected to ESPlorer and pressed reset):
ESP12E default NodeMCU 0.9.5 build 20150318 powered by Lua 5.1.4
Decided 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.exe
Checked firmware version then:
NodeMCU 0.9.6 build 20150704 powered by Lua 5.1.4
if not tmr.alarm(0, 5000, tmr.ALARM_SINGLE, function() print("hey there") end) then print("whoopsie") end
Checked firmware version (connected to ESPlorer and pressed reset):
ESP12E default NodeMCU 0.9.5 build 20150318 powered by Lua 5.1.4
Decided 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.exe
Checked firmware version then:
NodeMCU 0.9.6 build 20150704 powered by Lua 5.1.4
And tested this code sample:
if not tmr.alarm(0, 5000, tmr.ALARM_SINGLE, function() print("hey there") end) then print("whoopsie") end
It worked.
Subscribe to:
Posts (Atom)