Code Recreation

So I’m working on a PC/VM in GKC. I would like to have a property named “main.asm” to contain assembly code and to write my BIOS. How would I go about detecting commands from the property? Normally, I would probably have a trigger detect the first instance of a command like “halt,” but what if halt has to get used twice? What then?

2 Likes

Can you elaborate on what the halt function does?

4 Likes

Halt stops the cpu

edit: it also writes the data onto the hard drive but that’s unimportant to this topic

1 Like

Why would you use “halt” twice if the first one already stops it?

2 Likes

He wants to use it again for debug purposes Ig.

3 Likes

Perhaps each command could be tied to a number. Might be memory intensive though…

1 Like

It’s just hypothetical. I most likely won’t have to use halt twice. Im just saying this applies for any command.

1 Like

Ah. Well I was just wondering. I don’t think I’m technical enough to find an efficient solution :sob:

2 Likes

I mean I posted one and nothing happened, so…

(we’re talking about YouTube right)

1 Like

I don’t remember YouTube being banned here, many people put their YouTube channels in their profiles.

As for the topic, you need to understand what you want to shout out, if the video somehow helps this topic, then yes, you can send a link to the video

2 Likes

Ty for that Mono
@coolcaden26 check this out https://www.youtube.com/watch?v=9t-SPC7Tczc, and imagine every file can be represented by a property.