Author Topic: Programming Challenge: Write a BASIC program that will break an emulator  (Read 1884 times)

0 Members and 1 Guest are viewing this topic.

Nicholas Hill

  • Guest
Hey all,

I'm completely new to this forum, but I'd like to start by saying hello! My name is Nick, and I was gifted a CPC 464 for my sixth birthday. I am now 28 years old and doing quite well as a software engineer, so it's fair to say the CPC had an impact on my life!

So, I thought I would present a BASIC programming challenge, because I am genuinely interested in BASIC programming tricks. This one is simple to phrase: Can anyone write the shortest BASIC program that will "break" (or simply not work) in an emulator, because no emulator is perfect? I can think of two sensible rules for keeping out the "obvious" answers:

* Don't look for something set by the emulator. IE: Don't look for the data byte modified by emulators to identity themselves.
* Try to use minimal machine code. Preferably, use none at all.

I would very much like to see the results!

Nick

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1983
  • Likes Given: 4650
One would need few simple OUT instructions  8)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1017
  • Likes Given: 926
Yes... OUT some bullshit to the CRTC registers can harm some emulators :D
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1983
  • Likes Given: 4650
And some even provide the feature to do DOS commands of the PC ;-)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Executioner

  • Supporter
  • 6128 Plus
  • *
  • Posts: 783
  • Country: au
  • WinAPE Developer
    • WinAPE
  • Liked: 392
  • Likes Given: 60
And some even provide the feature to do DOS commands of the PC ;-)

Err, not from BASIC

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1983
  • Likes Given: 4650
Err, not from BASIC

Oh yes!!! But not in Winape.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus