I'm very new to assembly coding having started as a BASIC programmer as a child then progressing to C# as developer but i recall that many assembly written games disabled the break feature. Is this easy to achieve?
I've searched this forum and there are some ideas for BASIC but wondered if there is a standard way to disable it for apps/games written in assembly?
(z80 assembler) Disabling break?
- Ast A. Moore
- Rick Dangerous
- Posts: 2641
- Joined: Mon Nov 13, 2017 3:16 pm
Re: (z80 assembler) Disabling break?
Not sure what you’re asking. BASIC is an interpreter running on top of a primitive operating system. Breaking (i.e. stopping a BASIC program) is a feature of the OS. When you write a program in assembly (or any other language that is then converted to machine code), there’s no breaking, unless you specifically program that feature yourself.
Every man should plant a tree, build a house, and write a ZX Spectrum game.
Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
Re: (z80 assembler) Disabling break?
In other words, it's disabled by default in assembly
Re: (z80 assembler) Disabling break?
Ah - though t so. just checkin'.