Search found 44 matches

by David G
Thu Oct 09, 2014 6:59 am
Forum: GAMES
Topic: 1k machine code game "Viper Jr"
Replies: 1
Views: 974

1k machine code game "Viper Jr"

Found an old folder with the hand-written listing for an old machine code game. Originally, in 1982 it was a proof of concept, so it's quite simple, but also a bit of fun. It was written for the 4k, but I just realized it will run on 1k too. viper1k.JPG P file is available for download. The BASIC/as...
by David G
Mon Oct 06, 2014 12:44 am
Forum: Sinclair Misc
Topic: BASIC
Replies: 29
Views: 7291

Re: BASIC

Here is a one-file program for ZX-IDE . contains BASIC and assembly (machine code) in one file. ZX-IDE will create a program and run it in EightyOne emulator by pressing one key F8. Just copy into same folder as ZX-IDE. The machine code take a number as input, column number of screen row 1, and inve...
by David G
Sun Sep 28, 2014 5:16 am
Forum: Development
Topic: ZX-IDE and ROMs
Replies: 5
Views: 1245

Re: ZX-IDE and ROMs

Hi, welcome to the club. DB is "define byte", so the example aboves define two bytes. Result is two bytes long. Some assemblers (but not all) also do other functions with the ORG statement. But here it only defines the origin address of the code that follows. One helpful feature of ZX-IDE is to pres...
by David G
Tue Sep 23, 2014 9:27 am
Forum: Lambda 8300/ Power 3000 Lounge
Topic: Reviving Lambda / Power 3000 tape
Replies: 4
Views: 3102

Re: Reviving Lambda / Power 3000 tape

Reportedly the tape format is almost the same as a ZX81. See http://sinclairzxworld.com/viewtopic.ph ... bda#p14001
by David G
Sun Sep 21, 2014 8:37 am
Forum: Development
Topic: Unkatris, another tetris clone
Replies: 21
Views: 5067

Re: Unkatris, another tetris clone

This two-part loader is not quite as easy to use with an emulator, but it can be done * With a real ZX81, just load Block1.p and when ready, load Block2.p. Putting them on tape one after another is the easy way * With the emulator, the tricks are to disable fast loaders, and get both programs queued...
by David G
Sun Sep 21, 2014 7:07 am
Forum: Development
Topic: Unkatris, another tetris clone
Replies: 21
Views: 5067

Re: Template for Make1K.exe

Some clarifications: - what is the reason for the line "E_LINE defw $4401 ; ld bc, $1c44"? E_LINE defw $4401 is creating two bytes ($44 and $01) at that point in the code. And giving it the lable "E_LINE". The assembly is building up the beginning portion of the ZX81 program. ld bc, $1c44 is commen...
by David G
Fri Sep 19, 2014 10:18 am
Forum: Development
Topic: ZxList 6, P file to BASIC conversion app
Replies: 29
Views: 7210

ZxList 6.4, now disassembles machine code

Just posted ZxList 6.4 to the first post of this topic. It may be downloaded from there. No dependents, should run on any 32 or 64 bit Windows. 6.4 changes: * added disassembly of REM machine/code statements * fixed overwriting of ASM/BAS files * Byte dumps are now pre-pended correctly * Now validat...
by David G
Fri Sep 19, 2014 10:11 am
Forum: Development
Topic: Disassembly of Machine Code in REM statments
Replies: 1
Views: 962

Disassembly of Machine Code in REM statments

Have you ever wanted an easy way to examine machine code in BASIC files? Zxlister 6.4 can now automatically disassemble machine code found in REM statements. It creates a BASIC/Assembler file from a P or 81 file. It can also save the machine code in BIN files. Zxlister runs on Windows (95/98 or XP/7...
by David G
Wed Sep 17, 2014 12:26 pm
Forum: Development
Topic: Unkatris, another tetris clone
Replies: 21
Views: 5067

Loading System for 1k program

The loader is ingenious. I see no way to generate it on the ZX81, at least not from the Basic environment. But if you create it using special tools, it will load, then auto-run this statement which will load the next block. 1 RAND USR 16393 The System Variable NXTLIN contains the address of the BASI...
by David G
Mon Sep 15, 2014 5:00 am
Forum: Emulators
Topic: EightyOne suppress reset / autoload (tzx)
Replies: 2
Views: 1928

Re: EightyOne suppress reset / autoload (tzx)

I noticed the same thing when loading P files using the EightyOne's "Auto Load on Insert" feature. After turning that off, a manual LOAD "" does not cause a reset.

Toggle this button:
EightyOne's "Auto Load on Insert" feature
EightyOne's "Auto Load on Insert" feature
81_Autoload.JPG (13.61 KiB) Viewed 1921 times