• Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search

Krafty Internet Marketing Forum Search Engine Optimization White Hat Search Engine Optimization Hacking in BASIC

 
  • 0 Vote(s) - 0 Average
Hacking in BASIC
BiestaGetse
Offline

Member

Member
Posts: 156
Threads: 51
Joined: Jan 2021
Reputation: 0
#1
09-28-2021, 09:41 PM
<p>I sometimes hack about in BASIC for a bit of fun, and usually forget what I did.<br><br>VOICES as a function probably isn’t very useful any more, though LOCAL ERR,ERL,REPORT$ is handy. Even LOCALRND has its uses.<br><br>However, this one is so useful one might want to consider it for a future release:<br><br>STRING$(address,param[,maxlen])<br><br>param: b0-7 single terminator chr<br>&nbsp; &nbsp; &nbsp; b8&nbsp; no single terminator chr (ignore b0-7)<br>&nbsp; &nbsp; &nbsp; b9&nbsp; any ctrl terminates<br>&nbsp; &nbsp; &nbsp; b10&nbsp; CR or LF terminates<br>&nbsp; &nbsp; &nbsp; b11&nbsp; any top-bit-set byte terminates<br>or if negative, maxlen (and no 3rd arg)<br>In other words:<br><br>STRING$(addr,T) reads a string from memory, terminated by CHR$(T)<br>STRING$(addr,-L) reads a string of LEN L bytes, including CRs<br>STRING$(addr,T,L) reads a string terminated by CHR$(T) or LEN L<br>STRING$(addr,256,L) reads a string of LEN L, no terminator<br>STRING$(addr,512) reads a ctrl-terminated string<br>STRING$(addr,512+127) reads a string terminated by a ctrl or del<br>STRING$(addr,1024+0) reads a string terminated by 0, LF or CR<br>STRING$(addr,1024+13) reads a string terminated by CR or LF only<br>STRING$(addr,2048+512+127) reads a string made up of ASCII chrs only<br>STRING$(addr,32,12) reads a sprite name or drawfile group name<br>STRING$(addr,-4) reads a FourCC<br>STRING$(addr+1,-?addr) reads a Pascal string<br>(addr,-L) is just syntactic sugar for (addr,256,L).<br><br>And writen=SYS"OS_WriteN" should always have existed. I noticed in passing that the command SYS"Some_String" doesn’t use the SCT, so is always as slow as possible. Shame.<br></p>
MrStuden
Offline

Senior Member

Member
Posts: 264
Threads: 86
Joined: Oct 2019
Reputation: 12
#2
09-29-2021, 12:39 AM
Thanks for sharing, that might be useful in the future.
MaxForsyth
Offline

Member

Member
Posts: 207
Threads: 43
Joined: Nov 2020
Reputation: 0
#3
09-29-2021, 12:47 AM (This post was last modified: 09-29-2021, 03:33 AM by MaxForsyth.)
<p>I've always found hacking pretty fascinating, although I have little to no experience with it. But my brother, however, is amazing at it! I wish I dug deeper into hacking, and sooner, and who knows what skills I might have developed by now <img src="https://kraftymarketingprofits.com/internetmarketingforum/images/smilies/nodding.png" data-sceditor-emoticon="Nodding" alt="Nodding" title="Nodding"> I am super impressed each time I learn about hackers' styles and skills. I have recently come across <a href="https://private-service.best/">private-service.bes</a>t and I'm definitely impressed by what are they doing! Who knows, I might decide to spy on someone in the future haha</p>
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Hacking Fall Guys brainstorm21 2 1,756 11-27-2020, 04:43 PM
Last Post: MrStuden

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode