flat assembler
Message board for the users of flat assembler.

Index > High Level Languages > Miracle Browser with 40 Soulscript Pages. The New Internet

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
soul_master



Joined: 30 Jun 2023
Posts: 30
soul_master 12 Jan 2025, 13:51
Multiple Compiler Package: https://starpow3r.net/compiler.zip

Includes TinyC, GCC, FASM and FASMG with library, examples, graphics and fonts. Visual interface (or "front end") for FASM/G. One click to run *.C or *.ASM from a page. Reduced GCC/MingW to under 50mb.

Image
Post 12 Jan 2025, 13:51
View user's profile Send private message Reply with quote
soul_master



Joined: 30 Jun 2023
Posts: 30
soul_master 12 Jan 2025, 14:00
New Example Pages: https://starpow3r.net/pages.zip For the latest version of Miracle Browser: https://starpow3r.net/miracle.zip

Image

Code:
* /agenda/ - Miracle Browser 2-DO list. 18 pages worth. Ideas that haven't been implemented
* /tutorial/ - Example tutorial: Programming in C. 15 pages that reuse the same menu.
* /theme/ - Custom themes: browser.theme=blue.
* image - Miracle .IMAGE file format
* /food/ - Example site template with food recipes
* /animal/ - Example page of animals with audio: play 'my.wav'
* /games/, /videos/ - How to create a custom launcher, or an image gallery, or a page that reviews or sells games, movies, or any products
* /media/ - Some outline fonts ending with 'o'. Example: 'radio/64o', 'block/64o', 'cartoon/80o'. .FONT opens with miracle.exe.    


Last edited by soul_master on 12 Jan 2025, 14:38; edited 1 time in total
Post 12 Jan 2025, 14:00
View user's profile Send private message Reply with quote
soul_master



Joined: 30 Jun 2023
Posts: 30
soul_master 12 Jan 2025, 14:37
Updates:
Code:
* Inclusion: use 'file'. Now, a title and/or menu can be
created once for an entire site, and it's reusable by all pages.
* Themes. Pages can customize interface colors: browser.theme=name
* Cursors: Set page.cursor='my.cur' or .ani/mated
* Audio: play 'my.wav', or: play loop 'my.wav'
* Link text boxes: t.link='name'. For buttons
* Link multiple images in a gallery with image.link and image.search
* Drag and drop filename from explorer. Minimize browser first
* "Open With..." .FONT, .IMAGE, .SOUL, .USE, .CODE. Languages: .C/H,
.CPP/HPP, .ASM/INC, .BAT, .PY (Python), .HTML/CSS/JS
* code.language='bat' for batch files. Recognizes both comment styles,
"rem comment" and "::comment". Drag any BAT onto miracle.exe to open with.    


load_font(text name) (t.font='name/n') searches these locations: /name/, /font/ or /media/font/, or up 1-2 directories: /site/page1 or /sites/site1/page1.
Code:
@miracle/media/font/name/n
@page/name/n
@page/font/name/n
@page/../font/name/n
@page/../../font/name/n
@page/media/font/name/n
@page/../media/font/name/n
@page/../../media/font/name/n    


Edit: Update (1-15-25): https://www.starpow3r.net/miracle.zip

Finally solved the problem with fonts. Before, t.font='name/32' would cause a crash if the font didn't support a fade or gradient applied to it, or if text.graphics=fade was set previously, and the font was changed to an incompatible one. Now, any font should be usable, and pages/fonts demonstration should not crash.

Fixed another issue: "Open With..." source (*.ASM) would reset the global code_language to 's' if it encountered <> (if a<>b in FASM/G), causing only SS (Soulscript) keywords to be highlighted.
Post 12 Jan 2025, 14:37
View user's profile Send private message Reply with quote
soul_master



Joined: 30 Jun 2023
Posts: 30
soul_master 30 Jan 2025, 07:44
Update (1-30-25): https://starpow3r.net/

Internet started. Views online pages with text and code files (.C/H/ASM/INC/BAT/x). Uses Winsock. No images or links yet. Example addresses. Copy, then click [>] by the address bar to "paste and go".
Code:
www.starpow3r.net
www.starpow3r.net/fasm.soul
www.starpow3r.net/text.soul
www.starpow3r.net/loop.soul
www.starpow3r.net/text.h
www.starpow3r.net/text.inc    

Image
Image
Image
Image
Post 30 Jan 2025, 07:44
View user's profile Send private message Reply with quote
soul_master



Joined: 30 Jun 2023
Posts: 30
soul_master 05 Feb 2025, 14:10
Update (2-5-25): https://starpow3r.net/ Miracle Browser is the solution to all the problems of the internet caused by HTML browsers.

Image

Soulscript can display code in 22+ programming languages on a single page: Soulscript, C, C++, C#, Python, HTML, CSS, Javascript, Java, Rust, Ruby, Swift, SQL, BASIC...

Image
Post 05 Feb 2025, 14:10
View user's profile Send private message Reply with quote
soul_master



Joined: 30 Jun 2023
Posts: 30
soul_master 05 Feb 2025, 14:23
Compare: Soulscript VS HTML/CSS/JS:

ImageImage
Image
Image
Image

40+ new code.theme/s:

Image
Image
Image
Image

Soulscript code to display example.asm in 36 themes:
Code:
style code
  font='code/24', display=sequence, language='asm', w=410
end

text example.asm=
  '; Assembler\r'
  '\r'
  'rgb12:\r'
  '  and eax, 1111b\r'
  '  shl eax, 8\r'
  '  and ecx, 1111b\r'
  '  shl ecx, 4\r'
  '  or eax, ecx\r'
  '  and edx, 1111b\r'
  '  or eax, edx\r'
  'ret\r'
  '\r'
  'db "Example", 0'

uint i=36

text themes[i]=
  'white', 'white2', 'white3', 'gray',
  'black', 'black2', 'black3', 'black4',
  'black5', 'black6', 'black7', 'black8',
  'galaxy', 'galaxy2', 'galaxy3', 'galaxy4',
  'night', 'night2', 'night3', 'night4',
  'dark', 'dark2', 'dark3', 'dark4',
  'purple', 'purple2', 'purple3', 'purple4',
  'blue', 'blue2', 'blue3', 'blue4',
  'void', 'grayscale', 'vampire', 'alien'

loop i
  code.theme=themes[i]
  <code><?example.asm><>
  every 4, <r>, end
end
<r>    
Post 05 Feb 2025, 14:23
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.