Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
gforth
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Bernd Paysan
gforth
Commits
c31ce74b
Commit
c31ce74b
authored
Nov 10, 2013
by
Bernd Paysan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed +place (thanks to Marcos Cruz)
parent
c94486c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
+7
-10
kernel/paths.fs
kernel/paths.fs
+3
-5
other.fs
other.fs
+4
-5
No files found.
kernel/paths.fs
View file @
c31ce74b
...
...
@@ -50,15 +50,13 @@
include
string
.
fs
[
IFUNDEF
]
+
place
:
+
place
(
adr
len
adr
)
2
dup
>
r
>
r
dup
c
@
char
+
+
swap
move
r
>
r
>
dup
c
@
rot
+
swap
c
!
;
:
+
place
(
adr
len
adr
--
)
2
dup
c
@
dup
>
r
+
over
c
!
r
>
char
+
+
swap
move
;
[
THEN
]
[
IFUNDEF
]
place
:
place
(
c
-
addr1
u
c
-
addr2
)
2
dup
c
!
char
+
swap
move
;
2
dup
c
!
char
+
swap
move
;
[
THEN
]
Variable
fpath
(
--
path
-
addr
)
\
gforth
...
...
other.fs
View file @
c31ce74b
...
...
@@ -27,11 +27,10 @@
:
name
bl
word
;
:
on
true
swap
!
;
:
off
false
swap
!
;
:
place
(
adr
len
adr
)
2
dup
c
!
char
+
swap
move
;
:
+
place
(
adr
len
adr
)
2
dup
c
@
+
over
c
!
dup
c
@
char
+
+
swap
move
;
:
place
(
adr
len
adr
--
)
2
dup
c
!
char
+
swap
move
;
:
+
place
(
adr
len
adr
--
)
2
dup
c
@
dup
>
r
+
over
c
!
r
>
char
+
+
swap
move
;
:
-
rot
rot
rot
;
include
toolsext
.
fs
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment