Author Topic: CalcShield 2010 (Blast AntiVirus Version 5.0) - Beta Testers Needed  (Read 15551 times)

0 Members and 2 Guests are viewing this topic.

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: CalcShield 2010 (Blast AntiVirus Version 5.0) - Beta Testers Needed
« Reply #60 on: October 06, 2010, 06:19:46 pm »
It's actually b_call(EraseFlash).

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: CalcShield 2010 (Blast AntiVirus Version 5.0) - Beta Testers Needed
« Reply #61 on: October 06, 2010, 07:59:02 pm »
While 1 loops would be hard to find in ASM because almost all loops have the same structure. They just quit at different times. So I guess you could search for DJNZ loops without a jump out?




Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: CalcShield 2010 (Blast AntiVirus Version 5.0) - Beta Testers Needed
« Reply #62 on: October 07, 2010, 06:19:32 pm »
I think you're getting confused with how djnz works ;)
For example, this code leaves hl equal to $100:
Code: [Select]
ld b,0
ld h,b
ld l,b
;Zero b and hl
loop:
inc hl
djnz loop
In short, you normally don't write infinite loops with djnz.
In addition, "While 1" loops can be useful.
Code: [Select]
0->X
While 1
Output(0,0,X+1->X>Dec
ReturnIf getkey(0)
End
Wait, do you mean just an empty loop? (I missed the previous page)
In that case, there are still ways to get around it. Another endless loop: (and yes, storing to a variable address returns the address, not the valued stored)
Code: [Select]
0->A
While 0->{A}=A
End
« Last Edit: October 07, 2010, 06:20:16 pm by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: CalcShield 2010 (Blast AntiVirus Version 5.0) - Beta Testers Needed
« Reply #63 on: October 10, 2010, 08:55:50 pm »
Ok. Thank you.