Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

mr-GreyWolf/MSX-BASIC-Intermediate-code

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MSX BASIC — Промежуточный код

Описание формата здесь.

Скрипт работает в Python 2 и 3

code-to-text.py

Читает файл в бинарном формате и сохраняет его содержимое в текстовом формате

Параметры:

  1. Исходный файл в бинарном формате
  2. Выходной файл текстовом формате

Пример запуска:

./code-to-text.py file.bas file_a.bas

Тесты

Заруск скрита с тестовым файлом:

./code-to-text.py code.bas code.txt

Сравнение файлов:

diff code.txt code_a.bas

code.bas

Тестовый файл в бинарном формате, создан командой: save "code.bas"

code_a.bas

Тестовый файл в текстовом формате, создан командой: save "code_a.bas",a

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.