RE: Help me with my new website!
May 6, 2018 at 10:26 am
(This post was last modified: May 6, 2018 at 10:27 am by FlatAssembler.)
Quote:I cannot see any fonts, colors or background colors.OK, so, you are saying my syntax highlighting algorithm, as well as the CSS rules embedded in the HTML file, don't work in the browser you are using? Which one? Because they work in Internet Explorer 6. To be honest, I haven't bothered to install Chrome and test them in it.
Quote:You had to learn about the floating-point format and do it all yourself.Yeah, that's terrible. A few years ago, I tried to make a decimal number to IEEE 754 binary representation converter in i386-compatible assembly (which is a 32-bit CISC processor, but without floating-point instructions). The program basically worked by allocating an array of 256 bytes (each representing one bit in the binary number that can be represented with the 32-bit IEEE 754) every time it had to add or subtract two numbers (and multiplying and division was done by repeated addition or subtraction). That's probably the simplest way (and not efficient at all, it took so much time for it to convert a six-digit decimal number that I lost patience waiting) to do it in assembly, and yet it was 780 lines of code. 780 lines just to load a decimal number into the memory!
I often wonder how it was possible to do anything back in those days.