Java For Starters: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
m Bot: Replace deprecated source tag with syntaxhighlight
m Bot: Replace deprecated source tag with syntaxhighlight
 
Line 88:
 
Next you can add a particular code to the bootloader for it to be able to actually load something. You can write a method like this:
<sourcesyntaxhighlight lang="java">
protected void loadImageUsingInt13x42(String problemLabel, String diskAddressPacketLabel, int imageSizeInDiskSectors)
{
Line 120:
}
}
</syntaxhighlight>
</source>
The the final program (it's main method) can look like this:
<syntaxhighlight lang="java">