Skip to content

Commit e6c2c82

Browse files
v0.9.10 - A Volta dos Que não foram :)
1 parent 272119b commit e6c2c82

File tree

49 files changed

+12179
-471
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+12179
-471
lines changed

Distro/Atual/hcbasic.dll

-512 Bytes
Binary file not shown.

Distro/Atual/hcbasic.pdb

-68 Bytes
Binary file not shown.

Distro/Linux64/Plataformas/8086-DOS/System.OS.hcb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,22 @@ module OS
33
Dim TryCode as UInt16
44
Dim TryBase as UInt16
55
Dim TryFatal as UInt16
6-
Dim MinStackPtr as UInt16
76

87
public sub Start
98
' Inicializa o compilador
109
asm "cpu 8086"
1110
asm "bits 16"
1211
asm "org 0x100"
13-
asm "mov word [_os_minstackptr], END"
1412
Start2
1513
end
1614

15+
Sub StackCheck
16+
asm "cmp sp, END"
17+
asm "ja .end"
18+
Throw StackOverflowError
19+
asm ".end"
20+
End
21+
1722
sub Start2
1823
' Declara ponteiro para os argumentos
1924
dim args as ptrbytearray

Distro/Linux64/Plataformas/8086-KERNEL/System.OS.hcb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,22 @@ module OS
33
Dim TryCode as UInt16
44
Dim TryBase as UInt16
55
Dim TryFatal as UInt16
6-
Dim MinStackPtr as UInt16
76

87
public sub Start
98
' Inicializa o compilador
109
asm "cpu 8086"
1110
asm "bits 16"
1211
asm "org 0x100"
13-
asm "mov word [_os_minstackptr], END"
1412
Start2
1513
end
1614

15+
Sub StackCheck
16+
asm "cmp sp, END"
17+
asm "ja .end"
18+
Throw StackOverflowError
19+
asm ".end"
20+
End
21+
1722
sub Start2
1823
' Declara ponteiro para os argumentos
1924
dim args as ptrbytearray

Distro/Linux64/hcbasic.dll

0 Bytes
Binary file not shown.

Distro/Linux64/hcbasic.pdb

-72 Bytes
Binary file not shown.

Distro/LinuxARM32/Plataformas/8086-DOS/System.OS.hcb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,22 @@ module OS
33
Dim TryCode as UInt16
44
Dim TryBase as UInt16
55
Dim TryFatal as UInt16
6-
Dim MinStackPtr as UInt16
76

87
public sub Start
98
' Inicializa o compilador
109
asm "cpu 8086"
1110
asm "bits 16"
1211
asm "org 0x100"
13-
asm "mov word [_os_minstackptr], END"
1412
Start2
1513
end
1614

15+
Sub StackCheck
16+
asm "cmp sp, END"
17+
asm "ja .end"
18+
Throw StackOverflowError
19+
asm ".end"
20+
End
21+
1722
sub Start2
1823
' Declara ponteiro para os argumentos
1924
dim args as ptrbytearray

Distro/LinuxARM32/Plataformas/8086-KERNEL/System.OS.hcb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,22 @@ module OS
33
Dim TryCode as UInt16
44
Dim TryBase as UInt16
55
Dim TryFatal as UInt16
6-
Dim MinStackPtr as UInt16
76

87
public sub Start
98
' Inicializa o compilador
109
asm "cpu 8086"
1110
asm "bits 16"
1211
asm "org 0x100"
13-
asm "mov word [_os_minstackptr], END"
1412
Start2
1513
end
1614

15+
Sub StackCheck
16+
asm "cmp sp, END"
17+
asm "ja .end"
18+
Throw StackOverflowError
19+
asm ".end"
20+
End
21+
1722
sub Start2
1823
' Declara ponteiro para os argumentos
1924
dim args as ptrbytearray

Distro/LinuxARM32/hcbasic.dll

0 Bytes
Binary file not shown.

Distro/LinuxARM32/hcbasic.pdb

-72 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)