Closed iflan closed 3 years ago
This change converts js/utils.js, js/base64.js, js/ram.js, and js/cpu6502.js to Typescript. It also adds tests for js/util.js. It does not attempt to convert js/ram.js into a proper class; that will be for a later refactoring.
js/utils.js
js/base64.js
js/ram.js
js/cpu6502.js
js/util.js
The Typescript version of js/cpu6502 is about 25% faster that the JavaScript version. The performance tests used are in https://github.com/iflan/apple2js/tree/perftests.
js/cpu6502
This change converts
js/utils.js
,js/base64.js
,js/ram.js
, andjs/cpu6502.js
to Typescript. It also adds tests forjs/util.js
. It does not attempt to convertjs/ram.js
into a proper class; that will be for a later refactoring.The Typescript version of
js/cpu6502
is about 25% faster that the JavaScript version. The performance tests used are in https://github.com/iflan/apple2js/tree/perftests.