If you want to learn more about why this is possible in excruciating technical detail (including stepping through assembly code and discussing memory layout), check out the channel Retro Game Mechanics Explained.
I think this particular bug is covered in either this video about level end glitches or its sequel.
If you want to learn more about why this is possible in excruciating technical detail (including stepping through assembly code and discussing memory layout), check out the channel Retro Game Mechanics Explained.
I think this particular bug is covered in either this video about level end glitches or its sequel.